Design System

Horace 전용 디자인 토큰 및 컴포넌트 레퍼런스

새 컴포넌트 추가 → app/design-system/sections/에 파일 생성 후 index.ts에 등록

Foundation

Colors

Primary

--primary

주요 액션, 활성 메뉴, 강조 버튼

Primary FG

--primary-foreground

primary 위 텍스트

Secondary

--secondary

보조 버튼, 칩

Muted

--muted

비활성 영역 배경

Muted FG

--muted-foreground

보조 텍스트

Destructive

--destructive

삭제, 오류

Border

--border

구분선, 테두리

Sidebar

--sidebar

사이드바 배경

Sidebar Primary

--sidebar-primary

사이드바 활성 항목

Sidebar Accent

--sidebar-accent

사이드바 hover

Typography

Heading 3XLtext-3xl / 30px
Heading 2XLtext-2xl / 24px · 페이지 제목
Heading XLtext-xl / 20px
Heading LGtext-lg / 18px · 섹션 헤더
Body Mediumtext-base / 16px · 카드 제목
Body Regulartext-base / 16px · 본문
Small Mutedtext-sm / 14px · 보조 설명
CAPTION LABELtext-xs / 12px · 레이블

Radius

0.6rem

--radius-sm

인풋, 작은 배지

0.8rem

--radius-md

버튼

1rem

--radius-lg

카드, 드롭다운

1.4rem

--radius-xl

모달, 시트

Components

Buttons

Variants

Sizes & States

Badges

Variants

DefaultSecondaryOutlineDestructiveGhost녹음 중

Cards

총 녹음
128

전월 대비 +12%

환자 정보
김민수 · 1990-01-01

내과 · 외래 환자

AI 요약 완료
97%

완료율

Form Controls

Input

Controls

60%

Feedback

Progress & Skeleton

업로드60%

Tabs & Tooltip

Overview 탭 콘텐츠

Forms

Input & Textarea

Input

Textarea

Input Group

Addon

https://

Button Group

Grouped Buttons

Select

Select

Native Select

Checkbox & Radio

Checkbox

Radio Group

Slider & Toggle

Slider

40%

Toggle & Toggle Group

OTP & Calendar

Input OTP

Calendar

May 2026

Switch

Switch

Data Display

Avatar

Sizes & Group

KMKMKM
LJ온라인 배지
KMLJPJ
+5
그룹

Table

환자명진료과구분날짜상태
김민수내과외래2026-04-23완료
이지은정형외과입원2026-04-22진행 중
박준영소아과외래2026-04-22대기
최수연외과외래2026-04-21완료

Item

Default

김민수

내과 · 외래

완료
이지은

정형외과 · 입원

진행 중
박준영

소아과 · 외래

대기

Muted / Small

김민수

내과

이지은

정형외과

박준영

소아과

Accordion

Single

Breadcrumb & Pagination

Breadcrumb

Pagination

Scroll Area

Vertical Scroll

녹음 #0012026-04-23
녹음 #0022026-04-22
녹음 #0032026-04-21
녹음 #0042026-04-20
녹음 #0052026-04-19
녹음 #0062026-04-18
녹음 #0072026-04-17
녹음 #0082026-04-16
녹음 #0092026-04-15
녹음 #0102026-04-14

Empty & Kbd

Empty State

아직 녹음이 없어요
첫 번째 진료 녹음을 추가해보세요.

Kbd

검색K
저장S
녹음 시작Space

Overlay

Alert

Tooltip & Hover Card

Tooltip

Hover Card

Dropdown & Popover

Dropdown Menu

Popover

Dialog & Alert Dialog

Dialog

Alert Dialog

Sheet & Drawer

Sheet (Side Panel)

Drawer (Bottom Sheet)

Command

Command Palette

Horace Components

PageHeader

모든 페이지 상단에 사용하는 공용 헤더. 모바일에서는 워크스페이스 스위처가 함께 표시됩니다.

기본

녹음

액션 버튼 포함

녹음

WorkspaceSwitcher

워크스페이스 전환 컴포넌트. 모바일에서는 Drawer(바텀시트), 데스크탑 사이드바에서는 Popover로 표시됩니다.

Drawer (모바일 — PageHeader 내 pill 트리거)

Popover (데스크탑 — 사이드바 트리거)

RecordingFab

녹음 시작 + 서식 선택을 하나로 합친 플로팅 버튼. 모바일에서는 탭바 위에 고정됩니다.

RecordingItem

녹음 목록에서 사용하는 카드 아이템. 상태 배지, 미분류 표시, 환자 연결 버튼을 포함합니다.