grannyshot-ui
A minimal, theme-aware design system built with Tailwind CSS and Ark UI.
Features
- 26 components — buttons, inputs, modals, toasts, date pickers, and more
- Dark mode — seamless light/dark theme switching with semantic tokens
- Accessible — built on Ark UI (Zag.js state machines) for keyboard navigation and screen reader support
- Imperative APIs —
toast.success(),dialog.confirm(),drawer.open()for quick interactions - Tree-shakeable — only import what you need, Tailwind CSS native, no conflicts with consumer projects
- TypeScript — full type safety with exported variant types
Quick Start
npm install @grannyshot/uiimport '@grannyshot/ui/styles.css'
import { Button } from '@grannyshot/ui'
export default function App() {
return <Button variant="primary">Click me</Button>
}Last updated on