@us-gov-cdc/cdc-react-icons
v2.7.0
Published
SVG Icon library for CDC web applications
Downloads
78
Keywords
Readme
CDC React Icons
Welcome the the CDC Icon React Component library!
This is a set of SVG-based icons for use in any React application. Each icon is exported as a separate React component. So you only need to import the icons your component needs.
Usage
Here is an example of using an icon from this library in your app:
import { Icons } from "@us-gov-cdc/cdc-react-icons"
function MyApp() {
return (
<nav>
<Icons.Menu />
</nav>
)
}
See the Storybook Icon Page for a list of all icons and their names..