Skip to content

Getting started

Installation

One package, three subpath imports, and no stylesheet to load.

Install

pnpm add @frostycle/rime
npm install @frostycle/rime
yarn add @frostycle/rime

Requirements

Svelte ^5.29.0 is a peer dependency. The popups use the native popover attribute, so browsers need to support it (Baseline 2024). The automated browser suite runs on Chromium, WebKit and Firefox.

Imports

Each component has its own subpath, so you only import what you use.

  • @frostycle/rime/date-picker

    DatePicker, DateRangePicker and the date helpers

  • @frostycle/rime/dropdown-menu

    DropdownMenu

  • @frostycle/rime/select

    Select

A first picker

Values are YYYY-MM-DD strings. With no classes it renders unstyled, so continue with Styling with Tailwind.

<script>
	import { DatePicker } from '@frostycle/rime/date-picker';

	let due = $state(null);
</script>

<DatePicker bind:value={due} />