import { useState } from 'react'; import { ArrowRight, Trash, Plus, DotsThree, MagnifyingGlass, Folder, FolderOpen, PencilSimple, Copy, Tag, Info, FilePdf, FileText, CheckCircle, Warning, WarningOctagon, } from '@phosphor-icons/react'; import { useTheme } from './components/theme'; import { AlertDialog, Badge, Button, Callout, Card, Checkbox, Chip, Control, Dialog, DialogClose, IconButton, Knob, List, MenuRow, MenuSeparator, MenuSurface, Progress, RadioGroup, RadioItem, Row, ScrollArea, SearchField, SegmentedControl, Select, Slider, Spinner, Stepper, Switch, TBody, THead, Table, Tabs, TabsContent, TabsList, Td, TextArea, TextField, Th, Tooltip, Tr, Window, } from './components/ui'; const Section = ({ label, children }: { label: string; children: React.ReactNode }) => (
{label}
{children}
); const App = () => { const { theme, setTheme } = useTheme(); const [seg, setSeg] = useState('list'); const [tab, setTab] = useState('general'); const [count, setCount] = useState(4); const [chips, setChips] = useState(['design', '2026', 'invoices']); return (
MODERNSK · KITCHEN SINK

Every component, live and interactive, built on Radix Primitives styled from the global tokens in{' '} tokens.css +{' '} components.css. Click, toggle, focus — it all responds.

setTheme(v as 'dark' | 'light')} items={[ { value: 'dark', label: 'Dark' }, { value: 'light', label: 'Light' }, ]} />
{/* BUTTONS */}
Variants
Sizes & icon
{/* FIELDS */}
Name
Location
Search
} placeholder="Search files…" />
View