Quick start
Install Acme UI, add your first component, and theme it in five minutes.
Acme UI is a set of accessible components for Svelte. Every surface reads the theme’s tokens, so the whole library follows your brand. New Beta
Install
Configure
Register the plugin in your Vite config. Press ⌘ K to search the docs at any time.
vite.config.ts
Good to know
The theme file is plain CSS, so your editor’s colour picker works on it.
Your first component
Import it
src/routes/+page.svelte
Run the dev server
Start pnpm dev and open the page.
Breaking change
theme replaced themes in 2.0. The old option still works with a warning.
Options
| Option | Type | Default | Description |
|---|---|---|---|
theme | string | 'default' | A preset name or a theme file path. |
strict | boolean | false | Fail the build on a missing token. |
port | number | 5173 | The dev server port. |
Don't
Edit the generated files by hand; they’re rewritten on every build.