React components for NHL team logos
npm install react-nhl-logos!npm
> React components for NHL team logos
``shell`
npm install react-nhl-logos
`tsx
import { DET } from "react-nhl-logos";
const Example = () => {
return
};
export default Example;
`
or include all logos
`tsx
import * as NHLLogos from "react-nhl-logos";
const Example = () => {
return
};
export default Example;
`
Size can be easily configured (Default of 100px)
`tsx
import { DET } from "react-nhl-logos";
const Example = () => {
return (
export default Example;
`
Results in

This package includes TypeScript definitions. The LogoProps type is exported for use in your projects:
`tsx`
import type { LogoProps } from "react-nhl-logos";
All 32 NHL teams are supported, plus the NHL league logo:
| Team | Code | Team | Code |
|------|------|------|------|
| Anaheim Ducks | ANA | New Jersey Devils | NJD |ARI
| Arizona Coyotes | | Nashville Predators | NSH |BOS
| Boston Bruins | | New York Islanders | NYI |BUF
| Buffalo Sabres | | New York Rangers | NYR |CAR
| Carolina Hurricanes | | Ottawa Senators | OTT |CBJ
| Columbus Blue Jackets | | Philadelphia Flyers | PHI |CGY
| Calgary Flames | | Pittsburgh Penguins | PIT |CHI
| Chicago Blackhawks | | Seattle Kraken | SEA |COL
| Colorado Avalanche | | San Jose Sharks | SJS |DAL
| Dallas Stars | | St. Louis Blues | STL |DET
| Detroit Red Wings | | Tampa Bay Lightning | TBL |EDM
| Edmonton Oilers | | Toronto Maple Leafs | TOR |FLA
| Florida Panthers | | Utah Mammoth | UTA |LAK
| Los Angeles Kings | | Vancouver Canucks | VAN |MIN
| Minnesota Wild | | Vegas Golden Knights | VGK |MTL
| Montréal Canadiens | | Winnipeg Jets | WPG |NHL
| NHL Logo | | Washington Capitals | WSH` |
React NHL Logos was inspired by React NBA Logos by Christopher Katsaras
NHL and the NHL Shield are registered trademarks of the National Hockey League. All NHL logos and marks and NHL team logos and marks depicted herein are the property of the NHL and the respective teams and may not be reproduced without the prior written consent of NHL Enterprises, L.P. © NHL. All Rights Reserved.