Getting started
Installation
One package, three subpath imports, and no stylesheet to load.
Install
pnpm add @frostycle/rimenpm install @frostycle/rimeyarn add @frostycle/rimeRequirements
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-pickerDatePicker, DateRangePicker and the date helpers
@frostycle/rime/dropdown-menuDropdownMenu
@frostycle/rime/selectSelect
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} />