@brudi/hui-icons
v0.14.1
Published
React icon components for AX HUI.
Downloads
574
Keywords
Readme
AX HUI React Icons
React icon components for AX HUI.
Install
$ pnpm i @brudi/hui-icons
OR
$ npm install @brudi/hui-icons
Usage
import React from 'react'
import GitHub from '@brudi/hui-icons/github'
const App = () => {
return <GitHub />
}
export default App
Icons can be configured with color
, size
and any SVG props:
<GitHub color="red" size={36} />
<GitHub color="blue" strokeWidth={2} />
Other ways
- You can include the whole icon pack:
import * as Icons from '@brudi/hui-icons'
const App = () => {
return <Icons.GitHub />
}
- You can include single icon:
import Activity from '@brudi/hui-icons/activity'
const App = () => {
return <Activity />
}