Component packs › Livery › Theme Export
Change a colour and the exported code updates line by line with a highlight; switch between CSS variables, Tailwind and JSON and copy.
Theme Export is an export tokens from Livery, a component pack with 8 components: Theme switcher components where every change repaints the page, not just the control. Price: $2 for the whole pack.
Built with: live code output, changed-line highlight, copy with tick.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
accent | string | ||
dark | boolean | ||
autoplay | boolean | ||
onCopy | (code: string) => void |
format(f: 'css' | 'tailwind' | 'json'): voidaccent(hex: string): voiddestroy(): voidimport ThemeExport from './ThemeExport';
<ThemeExport />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Theme and dark mode.