# @bytelyst/ui
Shared component library for the ByteLyst ecosystem. Built with Radix UI primitives, Lucide icons, and CSS custom properties from `@bytelyst/design-tokens`.
## Install
```bash
pnpm add @bytelyst/ui
```
Peer dependencies: `react`, `react-dom`.
## Components (15)
### Button
5 variants (`primary`, `secondary`, `ghost`, `destructive`, `outline`), 3 sizes, loading state with spinner.
```tsx
import { Button } from '@bytelyst/ui';
```
### Input
Text input with error/success states. Supports `aria-invalid` automatically when `error` is truthy.
```tsx
import { Input } from '@bytelyst/ui';
```
### Textarea
Auto-resize textarea with error states.
```tsx
import { Textarea } from '@bytelyst/ui';
;
```
### Select
Styled `