Install Zest
Zest is Limer's Svelte 5 component library for internal and admin apps: Bits UI behaviour, Tailwind 4 styling, Zest's own themes. It works in any Svelte 5 app, with or without SvelteKit.
Markdown for AI tools1. Point pnpm at GitHub Packages #
Zest is published to GitHub Packages. Tell pnpm where @limerdev lives, in the app's .npmrc:
@limerdev:registry=https://npm.pkg.github.com Log in with a GitHub token that can read packages (NODE_AUTH_TOKEN in CI).
2. Install the package #
pnpm add @limerdev/zest The app needs Svelte 5.33 or later and Tailwind 4 (@tailwindcss/vite). SvelteKit is optional. Keep skipLibCheck: true in the app's TypeScript config (the template default).
3. Import the theme #
In the app's stylesheet (e.g. src/app.css), import the theme after Tailwind, and the base styles after it:
@import 'tailwindcss';
@import '@limerdev/zest/theme.css';
@import '@limerdev/zest/base.css'; theme.css styles Zest's components and nothing else, and tells Tailwind to scan them for their classes, so the app needs no @source of its own. base.css is optional: it styles the whole page the Zest way (Base style and type).
4. Use a component #
<script lang="ts">
import { Dialog } from '@limerdev/zest';
</script>
<Dialog.Root>
<Dialog.Trigger variant="outline">Open</Dialog.Trigger>
<Dialog.Content>
<Dialog.Header>
<Dialog.Title>Hello</Dialog.Title>
</Dialog.Header>
</Dialog.Content>
</Dialog.Root> Every component keeps the names, parts and props of the Bits UI component it is built on. Components shows every component with its examples and props.