2.3.3 • Published 10 months ago

@channel.io/bezier-react v2.3.3

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

Bezier React

Bezier React is a React components library that implements Bezier design system.

Installation

npm

npm i @channel.io/bezier-react

yarn

yarn add @channel.io/bezier-react

pnpm

pnpm install @channel.io/bezier-react

Usage

1. CSS import

In order to use bezier-react's styles, you need to import CSS. If you're using the module bundler, you can import CSS directly from within your JavaScript file.

import '@channel.io/bezier-react/styles.css'

Or if you're not using the module bundler, you can add the CSS directly to your HTML. We recommend referring to your styles file and copy-pasting it. As bezier-react updates, your styles should update with it.

<link
  rel="stylesheet"
  href="styles.css"
/>

2. Wrap AppProvider

Wrap AppProvider at the root of your application. If necessary, you can change the theme by specifying the themeName property.

import React from 'react'
import { createRoot } from 'react-dom/client'
import { AppProvider, Text } from '@channel.io/bezier-react'

const container = document.getElementById('root') as HTMLElement
const root = createRoot(container)

root.render(
  <AppProvider themeName="dark">
    <Text as="h1">Hello World</Text>
  </AppProvider>
)

3. Font import

Import font from CDN of Channel Corp. Or you can import it from Google Fonts.

<link
  rel="preconnect"
  href="https://cf.channel.io"
/>
<link
  rel="stylesheet"
  href="https://cf.channel.io/asset/font/Inter/inter.css"
/>

Contributing

See contribution guide.

Maintainers

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

2.3.3

10 months ago

2.3.2

10 months ago

2.3.1

11 months ago

2.3.0

11 months ago

2.2.1

1 year ago

2.2.0

1 year ago

2.2.3

1 year ago

2.2.2

1 year ago

2.2.4

1 year ago

2.1.0

1 year ago

2.0.7

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0-alpha.21

1 year ago

2.0.0

1 year ago

2.0.0-alpha.20

1 year ago

2.0.0-alpha.19

1 year ago

2.0.0-alpha.18

1 year ago

2.0.0-alpha.17

1 year ago

2.0.0-alpha.16

1 year ago

2.0.0-alpha.15

2 years ago

2.0.0-alpha.14

2 years ago

2.0.0-alpha.13

2 years ago

2.0.0-alpha.12

2 years ago

2.0.0-alpha.11

2 years ago

2.0.0-alpha.10

2 years ago

2.0.0-alpha.9

2 years ago

2.0.0-alpha.8

2 years ago

2.0.0-alpha.7

2 years ago

2.0.0-alpha.6

2 years ago

2.0.0-alpha.5

2 years ago

1.20.0

2 years ago

2.0.0-alpha.4

2 years ago

2.0.0-alpha.3

2 years ago

2.0.0-alpha.2

2 years ago

1.19.0

2 years ago

1.10.2

2 years ago

1.18.0

2 years ago

2.0.0-alpha.0

2 years ago

2.0.0-alpha.1

2 years ago

1.11.1

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.13.0

2 years ago

1.14.0

2 years ago

1.15.0

2 years ago

1.15.1

2 years ago

1.9.0

2 years ago

1.16.0

2 years ago

1.8.0

2 years ago

1.17.1

2 years ago

1.17.0

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0-next-v1.99

4 years ago

1.0.0-next-v1.98

4 years ago

1.0.0-next-v1.95

4 years ago

1.0.0-next-v1.94

4 years ago

1.0.0-next-v1.97

4 years ago

1.0.0-next-v1.96

4 years ago

1.0.0-next-v1.91

4 years ago

1.0.0-next-v1.90

4 years ago

1.0.0-next-v1.93

4 years ago

1.0.0-next-v1.92

4 years ago

1.0.0-next-v1.88

4 years ago

1.0.0-next-v1.87

4 years ago

1.0.0-next-v1.89

4 years ago

1.0.0-next-v1.84

4 years ago

1.0.0-next-v1.83

4 years ago

1.0.0-next-v1.86

4 years ago

1.0.0-next-v1.85

4 years ago

1.0.0-next-v1.80

4 years ago

1.0.0-next-v1.82

4 years ago

1.0.0-next-v1.81

4 years ago

1.0.0-next-v1.77

4 years ago

1.0.0-next-v1.76

4 years ago

1.0.0-next-v1.79

4 years ago

1.0.0-next-v1.78

4 years ago

1.0.0-next-v1.73

4 years ago

1.0.0-next-v1.72

4 years ago

1.0.0-next-v1.75

4 years ago

1.0.0-next-v1.74

4 years ago

1.0.0-next-v1.71

4 years ago

1.0.0-next-v1.70

4 years ago

1.0.0-next-v1.69

4 years ago

1.0.0-next-v1.66

4 years ago

1.0.0-next-v1.65

4 years ago

1.0.0-next-v1.68

4 years ago

1.0.0-next-v1.67

4 years ago

1.0.0-next-v1.62

4 years ago

1.0.0-next-v1.64

4 years ago

1.0.0-next-v1.63

4 years ago

1.0.0-next-v1.59

4 years ago

1.0.0-next-v1.58

4 years ago

1.0.0-next-v1.55

4 years ago

1.0.0-next-v1.54

4 years ago

1.0.0-next-v1.57

4 years ago

1.0.0-next-v1.56

4 years ago

1.0.0-next-v1.61

4 years ago

1.0.0-next-v1.60

4 years ago

1.0.0-next-v1.51

4 years ago

1.0.0-next-v1.50

4 years ago

1.0.0-next-v1.53

4 years ago

1.0.0-next-v1.52

4 years ago

1.0.0-next-v1.49

4 years ago

1.0.0-next-v1.48

4 years ago

1.0.0-next-v1.47

4 years ago

1.0.0-next-v1.44

4 years ago

1.0.0-next-v1.43

4 years ago

1.0.0-next-v1.46

4 years ago

1.0.0-next-v1.45

4 years ago

1.0.0-next-v1.42

4 years ago

1.0.0-next-v1.41

4 years ago

1.0.0-next-v1.40

4 years ago

1.0.0-next-v1.39

4 years ago

1.0.0-next-v1.38

4 years ago

1.0.0-next-v1.37

4 years ago

1.0.0-next-v1.36

4 years ago

1.0.0-next-v1.35

4 years ago

1.0.0-next-v1.33

4 years ago

1.0.0-next-v1.34

4 years ago

1.0.0-next-v1.32

4 years ago

1.0.0-next-v1.31

4 years ago

1.0.0-next-v1.30

4 years ago

1.0.0-next-v1.28

4 years ago

1.0.0-next-v1.29

4 years ago

1.0.0-next-v1.27

4 years ago

1.0.0-next-v1.26

4 years ago

1.0.0-next-v1.25

4 years ago

1.0.0-next-v1.24

4 years ago

1.0.0-next-v1.19

4 years ago

1.0.0-next-v1.18

4 years ago

1.0.0-next-v1.22

4 years ago

1.0.0-next-v1.21

4 years ago

1.0.0-next-v1.23

4 years ago

1.0.0-next-v1.20

4 years ago

1.0.0-next-v1.15

4 years ago

1.0.0-next-v1.17

4 years ago

1.0.0-next-v1.16

4 years ago

1.0.0-next-v1.14

4 years ago

1.0.0-next-v1.13

4 years ago

1.0.0-next-v1.12

4 years ago

1.0.0-next-v1.11

4 years ago

1.0.0-next-v1.10

4 years ago

1.0.0-next-v1.9

4 years ago

1.0.0-next-v1.7

4 years ago

1.0.0-next-v1.8

4 years ago

1.0.0-next-v1.5

4 years ago

1.0.0-next-v1.6

4 years ago

1.0.0

4 years ago

0.9.3

4 years ago

0.10.0

4 years ago

1.0.0-next-v1.3

4 years ago

1.0.0-next-v1.4

4 years ago

1.0.0-next-v1.2

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.9.2

4 years ago

0.8.3

4 years ago

0.9.1

4 years ago

0.8.2

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago