skip section navigation

choose a component

try a small piece of the screen you’re building, then open its guide for a complete example and API reference. these previews use local demo state. they don’t save your data or change the site’s flavor.

app structure

these previews have their own document. Basket and Loaf use the existing host shell; page headings stay inside their card.

Basket

use Basket

Loaf

use Loaf

PageContainer

use PageContainer

Profile

use Profile

fields and choices

Input

use Input

Field

a short name is easier to find.

use Field

FieldLabel

use FieldLabel

FieldDescription

use a short address, like weekend.

use FieldDescription

FormField

give this list a name.

use FormField

Selector

use Selector

Toggle

use Toggle

Switcher

use Switcher

Checklist

before you share
use Checklist

ColorPicker

use ColorPicker

Slider

reading minutes
use Slider

Carousel

use Carousel

PricingCards

personal

free
  • your own reading shelves

use PricingCards

content

Card

Weekend reading

one good article for later.

use Card

Callout

keep a local copy

export your reading list before clearing browser storage.

use Callout

Tags

gardensaved for later
use Tags

Markdown

**garden notes**\n\nstart with herbs that like shade.
use Markdown

ChatMessage

Mina 9:42
the **balcony garden** article is worth saving.
use ChatMessage

Codeblock

reading-list.js
const shelf = 'weekend';
use Codeblock

Codegroup

npm
npm install @ciabi/loafkit-ui
use Codegroup

Steps

  1. collect articles

    save the articles you want to share.

use Steps

Contact

use Contact

Emoticon

manga artwork
use Emoticon

navigation

overlays and palettes

SmallDialogView

keep the name short enough to find later.
use SmallDialogView

PickerDialogView

use PickerDialogView

DialogContainer

ready to share?

open each link once before sending it.

use DialogContainer

Popover

use Popover

FlavorPicker

collection palette

a local preview

use FlavorPicker

helpers and compatibility

createDialog opens a managed dialog from a browser action; it isn’t a visual component. DialogHolder is still exported for compatibility but renders nothing, so there’s no preview to show. you can remove it from new layouts.

Slider supplies the library range control, tick destinations and numeric editor. native buttons and links already receive Loafkit styling and don’t need a component import.

the gallery covers every current visual component exported by the package root. app-shell previews use separate documents; the other previews stay in the page. flavor helpers and artwork registries have their own setup guides.

public types

the root exports PageHeading, ChecklistItem, Step, CodegroupEntry, CarouselItemType, DialogMountOptions, DialogButton, DialogInfo, DialogPickerItem, PickerDialog, SmallDialog, SmallDialogIcons, Emotion, EmotionDefinition, FlavorDefinition and Tag. use import type for these contracts. a type declared inside a source component isn’t necessarily a root export.