Loafkit UI is a cozy accessible Svelte 5 component library for apps with their own colors
you'll need a Svelte 5 app and a Node version compatible with the package's ^22.12.0 || >=24.0.0 engine range.
npm install @ciabi/loafkit-ui<script>
import '@ciabi/loafkit-ui/styles.css';
import { Card, Input, Field, FieldLabel } from '@ciabi/loafkit-ui';
let title = $state('welcome to the bakery ');
let saved = $state('');
</script>
<Card title="add to your collection">
<Field>
<FieldLabel htmlFor="collection-title">collection name</FieldLabel>
<Input id="collection-title" bind:value={title} />
</Field>
<button type="button" onclick={() => saved = title}>save collection</button>
{#if saved}<p role="status">saved {saved}</p>{/if}
</Card>@ciabi/loaf-web is the legacy package name for the same library build. it’s recommended you use the package @ciabi/loafkit, though both have the same code. Loafkit also includes an optional Bricolage Grotesque font
this repository contains the library and its documentation app. contributors should read AGENTS.md, COMPONENTS.md and DESIGN.md before changing components. the existing gallery at src/routes/gallery/+page.svelte is the manual capability and regression page.
the repository provides npm run dev for local development, npm run check, npm run lint and npm run test for their respective checks, and npm run quality plus npm run smoke:consumer for the release workflow. these are contributor commands, not setup steps for consuming the package. RELEASING.md owns the dual-package release procedure.
MIT licensed. source and issues.