Keyboard
No component-specific keymap. Inherits standard browser focus / activation behaviour.
Svelte 5 {@attach} factories. Glue ARIA / keyboard / focus onto any DOM node you choose. **Best when you want full control over markup and styling.**
<script lang="ts">
import { createCalendar } from '@kumiki/headless/calendar';
const ctl = createCalendar({});
</script>
<div {@attach ctl.root}>
<!-- your markup -->
</div>Compound components (<Root> / <Trigger> / …). Markup is fixed; styling is not. Same trade-off as a typical headless UI library.
<script lang="ts">
import { Calendar } from '@kumiki/components/calendar';
</script>
<Calendar.Root>
<!-- subcomponents go here -->
</Calendar.Root>Styled, copy-paste presets (preview). Run pnpm kumiki add to drop the source into your project, then edit freely.
Live preview…
pnpm add @kumiki/atelier<script lang="ts">
import { Tailwind as Calendar } from '@kumiki/atelier/calendar';
import { type CalendarDate, today, getLocalTimeZone } from '@internationalized/date';
let value = $state<CalendarDate | null>(today(getLocalTimeZone()));
</script>
<Calendar.Root bind:value>
<Calendar.Header />
<Calendar.Grid>
{#snippet day(cell)}
<Calendar.Day date={cell.date} inMonth={cell.inMonth} />
{/snippet}
</Calendar.Grid>
</Calendar.Root>/ accessibility
axe-core — run on every PR (LTR + RTL × every documented state).
No component-specific keymap. Inherits standard browser focus / activation behaviour.