button

ui

Button

fly-byデザインシステムのButtonコンポーネント。-appearance-solid/outlined/flat/transparent、-color-informative/positive/negative/neutral、-size-xs/s/m/l/xlをサポート。

プレビュー

インストール

npx shadcn@latest add "https://fly-by.design.yukyu.net/r/button.json"

依存関係

NPM Packages

@radix-ui/react-slotclass-variance-authority

使用例

import { Button } from "@/components/ui/button"

// コンポーネントを使用
<Button>
  Content
</Button>

ファイル

registry/fly-by/ui/button.tsxui