Skip to content

One component. Your styles.

Headless, snippet-based UI primitives for Svelte 5.

Rime handles keyboard, focus, positioning and accessibility. You restyle it with snippets and data attributes, with no tree of nested parts to compose.

Browse components pnpm add @frostycle/rime

Components

Style state, not structure.

Every interactive element exposes its state as a data attribute, so Tailwind variants or plain CSS can target it directly. The library ships no colours and needs no theme prop.

<DatePicker
	classes={{
		day: 'size-9 rounded-md data-selected:bg-blue-600 data-today:font-bold data-disabled:opacity-40'
	}}
/>

Built in, on every component

  • Keyboard and screen readers

    Follows the WAI-ARIA patterns, and is tested with axe in real browsers.

  • Server rendering

    Renders on the server, so it works in SvelteKit and in plain Svelte.

  • Top-layer popups

    Never clipped by an overflow container, and safe inside a modal dialog.