GitHub

/ definition-list

DefinitionList

@kumiki/headless/definition-list

Planned Svelte 5 attachment for DefinitionList — semantic <dl> term/value pairing with id wiring for cross-references.

This component, layer by layer

Styled, copy-paste presets (preview). Run pnpm kumiki add to drop the source into your project, then edit freely.

Live preview

Live preview…

Install
pnpm add @kumiki/atelier
Two-column key/value layout
<script lang="ts">
  import { Tailwind as DL } from '@kumiki/atelier/definition-list';
</script>

<DL.Root layout="inline">
  <DL.Term>Plan</DL.Term>
  <DL.Description>Pro</DL.Description>
  <DL.Term>Renews</DL.Term>
  <DL.Description>2026-12-01</DL.Description>
</DL.Root>

/ accessibility

Accessibility

axe-core — run on every PR (LTR + RTL × every documented state).

Keyboard

No component-specific keymap. Inherits standard browser focus / activation behaviour.

Test discipline

  • axe-core — run on every PR (LTR + RTL × every documented state).
  • APG keyboard tests — Playwright, hand-written per pattern.
  • VoiceOver / NVDA — Guidepup nightly schedule.
  • Type-level required names — title / aria-label / aria-labelledby.