Skip to content

atomic-state/bs-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bs-icon

Installation:

yarn add bs-icon

# Or

npm install bs-icon

Usage

Import the css file in your app (it uses bootstrap icons v1.10.3)

import 'bs-icon/icons.css'

Use them anywhere:

import Icon from 'vs-icon'

export default function App(){
  return (
    <div>
      <Icon name='alarm-fill'/>
    </div>
  )
}

The name property accepts the name of the icon.