0.35.0 • Published 11 months ago

@channel.io/bezier-icons v0.35.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

Bezier Icons

Bezier Icons is a icon library that implements Bezier design system.

Installation

  1. (Recommend) Install @channel.io/bezier-react if you haven’t already.
  2. Install @channel.io/bezier-icons as a dependency.

npm

npm i @channel.io/bezier-icons

yarn

yarn add @channel.io/bezier-icons

Usage

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)) // false

Contributing

See contribution guide.

Maintainers

This package is mainly contributed by Channel Corp. Although feel free to contribution, or raise concerns!

0.35.0

11 months ago

0.34.0

11 months ago

0.33.0

11 months ago

0.31.2

12 months ago

0.32.0

12 months ago

0.31.1

1 year ago

0.31.0

1 year ago

0.30.0

1 year ago

0.29.0

1 year ago

0.28.0

1 year ago

0.27.0

1 year ago

0.26.0

1 year ago

0.25.0

1 year ago

0.24.0

1 year ago

0.23.0

1 year ago

0.22.0

1 year ago

0.21.0

1 year ago

0.20.0

1 year ago

0.19.0

1 year ago

0.18.0

2 years ago

0.17.0

2 years ago

0.10.0

2 years ago

0.11.0

2 years ago

0.9.0

2 years ago

0.12.0

2 years ago

0.8.0

2 years ago

0.13.0

2 years ago

0.14.0

2 years ago

0.15.0

2 years ago

0.5.0

2 years ago

0.16.0

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago