@brix-ui/icons
v2.2.2
Published
SVG icons as React components
Downloads
17
Maintainers
Readme
@brix-ui/icons
SVG icons as React components.
Installation
npm i @brix-ui/icons # react react-domyarn add @brix-ui/icons # react react-domMake sure to have
reactandreact-dominstalled in your package as they are included in our peer dependencies.
Usage
Every icon present in this package is a pure React component, wrapping plain svg element.
Each component is exported by default and gives access to the ref and className props, as well as standard
svg attributes.
import Times from '@brix-ui/icons/times';