Documentation

Build, audit, and ship accessible UI with confidence

Quick Start

Install and start using components right away

Installation

Install Zabi Components using npm:

npm install zabi-components

Basic Usage

Import and use components in your Svelte 5 app:

import { Button, Card, CardHeader, CardContent, Input } from "zabi-components";

let name = $state("");

<Card>
  <CardHeader title="Welcome" />
  <CardContent>
    <Input 
      label="Your Name" 
      value={name} 
      oninput={(e) => name = e.target.value}
    />
    <Button onclick={() => console.log("Hello!")}>
      Say Hello
    </Button>
  </CardContent>
</Card>

Design System Quality

Run the audit framework and remediation workflow end-to-end

Audit Framework Files

Use these files to run repeatable audits, track issues, and publish scorecards.

docs/AUDIT_RUNBOOK.md
docs/AUDIT_SCORECARD_TEMPLATE.md
docs/AUDIT_SCORECARD_2026-03-15.md
docs/DESIGN_SYSTEM_REMEDIATION_TRACKER.md

Quality Gates

Run these checks before publishing updates to the component library.

npm run check
npm run check:tokens
npm run build
npm run build-storybook

Current Status

Latest remediation cycle completed all planned phases, including accessibility, token compliance, state coverage, and Storybook/doc updates.

Health Score

84 / 100

Validation

`check`, `build`, and Storybook build passing

Why Zabi Components?

Svelte 5 Ready

Built with Svelte 5 runes and modern patterns

TypeScript First

Full TypeScript support with proper type definitions

Accessible

WCAG compliant with keyboard navigation and screen reader support

Customizable

Easy theming with CSS custom properties

Lightweight

Tree-shakeable with minimal bundle impact

Easy to theme

Tweak colors and type with CSS variables—no need to fork everything

Button Variants

Explore different button styles and variants

Available Variants

Zabi Components provides multiple button variants for different use cases:

<Button variant="primary">Primary</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="outline">Outline</Button>
<Button variant="ghost">Ghost</Button>
<Button variant="link">Link</Button>
<Button variant="danger">Danger</Button>

Icon Buttons

Use icon-only buttons for compact actions and toolbars

IconButton

Provide an accessible label for icon-only buttons.

<IconButton label="Favorite">
  <Heart />
</IconButton>

Ready to Start?

Explore Components

Browse the interactive showcase: category sidebar, live demos, props tables, and shareable URLs such as /components/SidebarNavigation.

Get Support

Check out our GitHub repository for help

Questions? Ask on GitHub — we're happy to help.

© 2026 Zabi Components. MIT License.