- Notifications
You must be signed in to change notification settings - Fork0
Preact component for Feather icons
License
NotificationsYou must be signed in to change notification settings
ForsakenHarmony/preact-feather
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Designed bycolebemis on a 24x24 grid with an emphasis on functionality, consistency and simplicity.
npm install preact-feather --saveimport{Camera}from'preact-feather';classMyClassextendsComponent{render(){return<Camera/>}}
If you can't use ES6 imports, it's possible to include icons from the compiled folder./dist.
varCamera=require('preact-feather/dist/icons/camera');varMyComponent=()=>{return(<Camera/>);};
You can also include the whole icon pack:
import*asIconfrom'preact-feather';classMyClassextendsComponent{render(){return<Icon.Camera/>}}
Icons can be configured with inline props:
<Icon.AlertCirclecolor="red"size={48}/>
About
Preact component for Feather icons
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.