Skip to content
h v3.13.3
Search the docs
Find a component, section or page.

Get started

One Svelte 5 package for every app we ship: shadcn-svelte primitives, effects, charts, and whole blocks like a task board or a slide deck. It all runs on one set of tokens, so a brand colour reaches every part.

  1. 1Foundations
  2. 2Components
  3. 3Effects
  4. 4Charts
  5. 5Blocks

Installation

Add the package

pnpm add @heyramzi/ui bits-ui

Load the tokens in app.css

@import "tailwindcss";@import "@heyramzi/ui/tokens.css";
/* Tailwind doesn't scan node_modules. Without this, a switch draws as a grey box. */@source "../node_modules/@heyramzi/ui/src";

Import a part by its path

<script lang="ts">  import { Button } from "@heyramzi/ui/shadcn/button";</script>
<Button>Save changes</Button>

Add these only for the parts that use them

svelte-sonner
Toasts
mode-watcher
Toasts and the theme provider
@internationalized/date
Calendar
@xyflow/svelte
Canvas

Theming

Name your brand once

// src/lib/brand.tsimport { defineBrand } from "@heyramzi/ui/brand";
export const brand = defineBrand({  colors: { brand: "oklch(0.51 0.23 277)", brandOnDark: "oklch(0.72 0.16 277)" },  fonts: { sans: "Geist, system-ui, sans-serif" },});
// src/hooks.server.ts: the first paint already wears the brandimport { brandStyle } from "@heyramzi/ui/brand";import { brand } from "$lib/brand";
export const handle = ({ event, resolve }) =>  resolve(event, {    transformPageChunk: ({ html }) =>      html.replace("<html", `<html style="${brandStyle(brand)}"`),  });

Mount light and dark once, in the root layout

<script lang="ts">  import { ThemeProvider } from "@heyramzi/ui/components/theme";  let { children } = $props();</script>
<ThemeProvider />{@render children()}

Coding agents

Add the MCP server to Claude Code

claude mcp add --transport http heyramzi-ui https://ui.heyramzi.com/mcp

Or read the docs as text

curl https://ui.heyramzi.com/llms.txtcurl https://ui.heyramzi.com/components/tabs.mdcurl https://ui.heyramzi.com/registry.json