@vite(['resources/css/app.css', 'resources/js/app.js'])
이 페이지는 현재 프로젝트에서 실제로 쓰는 공용 UI 컴포넌트의 버튼, 입력, 셀렉트, 체크박스, 스위치, 텍스트에어리어를 비교하기 위한 샘플입니다.
색상은 theme.css의 토큰만 사용합니다.
실제 `x-ui.button`의 변형에 맞춘 샘플입니다.
<x-ui.button variant="primary">Primary</x-ui.button> <x-ui.button variant="secondary">Secondary</x-ui.button> <x-ui.button variant="accent">Accent</x-ui.button> <x-ui.button variant="danger">Danger</x-ui.button>
<x-ui.button variant="outline">Outline</x-ui.button> <x-ui.button variant="soft">Soft</x-ui.button> <x-ui.button variant="ghost">Ghost</x-ui.button>
`x-ui.input`, `x-ui.select`, `x-ui.textarea`를 그대로 비교할 수 있습니다.
<x-ui.input floating id="name" name="name" label="이름" /> <x-ui.input type="email" id="email" name="email" label="이메일" /> <x-ui.select id="role" name="role" label="역할">...</x-ui.select> <x-ui.textarea floating id="bio" name="bio" label="소개">...</x-ui.textarea>
폼 상태를 한 번에 비교하기 좋은 보조 요소입니다.
현재 프로젝트에서 권장하는 배경과 텍스트 토큰입니다.
`theme.css`의 `BACKGROUND UTILITIES`를 실제 카드로 비교합니다.
.bg-base
.bg-surface
.bg-surface1
.bg-surface2
.bg-card
.bg-primary-soft