https://github.com/atomic-state/bs-icon
Icon component with Bootstrap
https://github.com/atomic-state/bs-icon
Last synced: over 1 year ago
JSON representation
Icon component with Bootstrap
- Host: GitHub
- URL: https://github.com/atomic-state/bs-icon
- Owner: atomic-state
- Created: 2022-06-06T04:34:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T04:01:39.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T20:46:29.520Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### bs-icon
#### Installation:
```bash
yarn add bs-icon
# Or
npm install bs-icon
```
#### Usage
Import the css file in your app (it uses bootstrap icons `v1.10.3`)
```js
import 'bs-icon/icons.css'
```
Use them anywhere:
```js
import Icon from 'vs-icon'
export default function App(){
return (
)
}
```
The `name` property accepts the name of the icon.