@channel.io/bezier-icons v0.44.0
Bezier Icons
Bezier Icons is a icon library that implements Bezier design system.
Installation
- (Recommend) Install
@channel.io/bezier-reactif you haven’t already. - Install
@channel.io/bezier-iconsas a dependency.
npm
npm i @channel.io/bezier-iconsyarn
yarn add @channel.io/bezier-iconsUsage
All icons are available as individual React components. We recommend using them with the Icon component from our @channel.io/bezier-react library.
import { Icon } from '@channel.io/bezier-react'
import { AllIcon } from '@channel.io/bezier-icons'
function Component() {
return (
<div>
<Icon source={AllIcon} />
</div>
)
}You can also use them individually.
import { AllIcon } from '@channel.io/bezier-icons'
function Component() {
return (
<div>
<AllIcon />
</div>
)
}If you need to validate the icon source component, use the utility function isBezierIcon.
import { isBezierIcon, AllIcon } from '@channel.io/bezier-icons'
function FooIcon() {
return <svg />
}
console.log(isBezierIcon(AllIcon)) // true
console.log(isBezierIcon(FooIcon)) // falseContributing
See contribution guide.
Maintainers
This package is mainly contributed by Channel Corp. Although feel free to contribution, or raise concerns!
8 months ago
10 months ago
1 year ago
1 year ago
7 months ago
8 months ago
10 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago