Skip to content

Latest commit

 

History

History
73 lines (58 loc) · 1.47 KB

README.md

File metadata and controls

73 lines (58 loc) · 1.47 KB

Bezier Design System + Vite TypeScript React starter template.

Usage

import {
  Icon,
  IconSize,
  Text,
  Typography,
  AlphaStack,
} from "@channel.io/bezier-react";
import { ChannelBtnSmileFilledIcon } from "@channel.io/bezier-icons";

function App() {
  return (
    <AlphaStack direction="vertical" spacing={8}>
      <Icon
        source={ChannelBtnSmileFilledIcon}
        size={IconSize.XL}
        color="bgtxt-blue-normal"
      />
      <Text typo={Typography.Size24} bold>
        Bezier Design System + Vite
      </Text>
      <Text typo={Typography.Size16}>
        See{" "}
        <a
          href="https://main--62bead1508281287d3c94d25.chromatic.com/?path=/story/intro--page"
          target="_blank"
          rel="noopener"
        >
          Storybook
        </a>{" "}
        For more information.
      </Text>
    </AlphaStack>
  );
}

Installation

Requirements

  • nodeJS : 18 | 20
  • pnpm : 8 or you can use another package manager

install dependencies

$ pnpm install

run development server

$ pnpm dev

build project

$ pnpm build

See More