fly-by Design System

Yukyu Flavor(#002CED)を基調とする
shadcn/ui 互換のコンポーネントライブラリ。

63 コンポーネントYukyu Flavorshadcn CLI 対応

使い方

1

shadcn CLI を初期化

まず shadcn/ui をプロジェクトに初期化します。

npx shadcn@latest init
2

コンポーネントを追加

必要なコンポーネントを追加します。

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

コンポーネントを使用

インポートして使用します。

import { FbButton } from "@/components/ui/fb-button"

<FbButton>Click me</FbButton>

コンポーネント一覧(63 / 63)

fb-button

Button

ui

Card Title

This is a card component with elevation and border.

fb-card

Card

ui

fb-input

Input

ui

fb-label

Label

ui

fb-textarea

Textarea

ui

Extra Large Text

Large Text

Medium Text (Default)

Small Text

fb-text

Text

ui

Content Above

Content Below

fb-separator

Separator

ui
NewSuccessError

fb-badge

Badge

ui

fb-spinner

Spinner

ui

fb-skeleton

Skeleton

ui
+K

fb-kbd

Kbd

ui
U
YF
FB

fb-avatar

Avatar

ui
16:9 Aspect Ratio

fb-aspect-ratio

Aspect Ratio

ui

fb-progress

Progress

ui

fb-toggle

Toggle

ui

fb-checkbox

Checkbox

ui

fb-switch

Switch

ui
Option 1
Option 2

fb-radio-group

Radio Group

ui
Tooltip text

fb-tooltip

Tooltip

ui

Popover content

fb-popover

Popover

ui

Dialog Title

This is a modal dialog example.

fb-dialog

Dialog

ui

Are you sure?

This action cannot be undone.

fb-alert-dialog

Alert Dialog

ui

Sheet Panel

Side panel content goes here.

fb-sheet

Sheet

ui

Bottom Drawer

Swipe or click to dismiss.

fb-drawer

Drawer

ui

fb-dropdown-menu

Dropdown Menu

ui
Copy
Paste
Delete

fb-context-menu

Context Menu

ui
@username

User Name

@username

User bio and details

fb-hover-card

Hover Card

ui
Notification

Your changes have been saved successfully.

fb-toast

Toast

ui

Success

Operation completed

fb-sonner

Sonner

ui
Section 1
Content for section 1
Section 2

fb-accordion

Accordion

ui
Yes, this component is fully supported.

fb-collapsible

Collapsible

ui
Tab 1 content

fb-tabs

Tabs

ui

fb-toggle-group

Toggle Group

ui
HomeProductsDetail

fb-breadcrumb

Breadcrumb

ui

fb-pagination

Pagination

ui

fb-navigation-menu

Navigation Menu

ui

fb-menubar

Menubar

ui

Scrollable content area with custom scrollbar styling.

Lorem ipsum dolor sit amet...

More content here...

fb-scroll-area

Scroll Area

ui
Panel 1
Panel 2

fb-resizable

Resizable

ui
Information

This is an informational alert message.

fb-alert

Alert

ui

fb-select

Select

ui

fb-native-select

Native Select

ui
Profile
Settings

fb-command

Command

ui
Option 1
Option 2

fb-combobox

Combobox

ui

fb-slider

Slider

ui

fb-input-otp

Input OTP

ui

fb-form

Form

ui

This is your public display name.

fb-field

Field

ui
https://.com

fb-input-group

Input Group

ui

fb-button-group

Button Group

ui

fb-split-button

Split Button

ui
Profile
Settings

fb-item

Item

ui
NameRole
John DoeAdmin
Jane SmithUser

fb-table

Table

ui
Name ↑Status
John DoeActive

fb-data-table

Data Table

ui
December 2024
S
M
T
W
T
F
S
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

fb-calendar

Calendar

ui

fb-date-picker

Date Picker

ui
Slide 1 of 3

fb-carousel

Carousel

ui

fb-chart

Chart

ui

No data available

Try adjusting your filters

fb-empty

Empty

ui

Navigation

fb-sidebar

Sidebar

ui

Hello World

Welcome to fly-by design system

hello-world

Hello World

block

Contact Form

example-form

Example Form

block

Sign In

example-login

Example Login

block

デザイン原則

命名規則

  • プレフィックス: fb-
  • プロパティ: appearance, color, size
  • 4pxグリッド: すべてのサイズは4pxの倍数

Yukyu Flavor カラーパレット

Primary 50
#e6ebfd - 背景(薄い)
Primary 100
#ccd7fb - ホバー背景
Primary 500
#002CED - 基準色・ボタン
Primary 600
#0025c4 - ホバー
Primary 700
#001e9b - アクティブ