Quickstart
1. Install a component
Section titled “1. Install a component”Pick a framework and run the install command. ui26 uses the shadcn CLI — no separate tooling needed.
npx shadcn@latest add https://winston-ui26.netlify.app/r/react/button.jsonnpx shadcn@latest add https://winston-ui26.netlify.app/r/svelte/button.jsonnpx shadcn@latest add https://winston-ui26.netlify.app/r/astro/button.json2. Install a theme (if you don’t have shadcn)
Section titled “2. Install a theme (if you don’t have shadcn)”If you’re already using shadcn, your existing CSS variables work as-is — skip this step.
For new projects, install the shad baseline theme:
npx shadcn@latest add https://winston-ui26.netlify.app/r/themes/shad.jsonThis adds CSS vars to :root (light) and .dark (dark mode), matching shadcn’s standard single-theme setup.
3. Use it
Section titled “3. Use it”import { Button } from '@/components/ui26/button'
export default function Page() { return <Button variant="default">Click me</Button>}<script> import Button from '$lib/components/ui26/button.svelte'</script>
<Button variant="default">Click me</Button>---import Button from '../components/ui26/button.astro'---
<Button variant="default">Click me</Button>That’s it. See Theming to customize the palette or add a theme switcher.
No framework? Use the Tailwind plugin
Section titled “No framework? Use the Tailwind plugin”If you’re working in plain HTML or a no-build environment, the Tailwind Plugin generates DaisyUI-style semantic classes (btn, card, badge, …) from your installed components. No React, Svelte, or Astro required.
<button class="btn btn-default">Click me</button><div class="card">…</div>