0.23.0 • Published 2 months ago

@channel.io/bezier-icons v0.23.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 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'

console.log(isBezierIcon(AllIcon)) // true
console.log(isBezierIcon(<svg />)) // false

Contributing

See contribution guide.

Maintainers

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

0.23.0

2 months ago

0.22.0

2 months ago

0.21.0

2 months ago

0.20.0

3 months ago

0.19.0

4 months ago

0.18.0

4 months ago

0.17.0

4 months ago

0.10.0

8 months ago

0.11.0

8 months ago

0.9.0

9 months ago

0.12.0

8 months ago

0.8.0

9 months ago

0.13.0

7 months ago

0.14.0

7 months ago

0.15.0

7 months ago

0.5.0

10 months ago

0.16.0

6 months ago

0.7.0

10 months ago

0.6.0

10 months ago

0.4.0

11 months ago

0.3.0

11 months ago

0.2.0

11 months ago

0.1.1

11 months ago

0.1.0

12 months ago