UNPKG

svelte-5-ui-lib

Version:

Svelte 5 UI Lib is a UI library built from scratch to leverage Svelte 5's runes system, creating smooth, reactive components.

13 lines (12 loc) 514 B
import type { HTMLInputAttributes } from 'svelte/elements'; type RangeColorType = 'gray' | 'red' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | undefined; type AppearanceType = 'auto' | 'none' | undefined; type RangeType = 'sm' | 'md' | 'lg'; interface RangeProps extends HTMLInputAttributes { value?: number | string; appearance?: AppearanceType; color?: RangeColorType; rangeSize?: RangeType; inputClass?: string; } export { type RangeProps, type RangeColorType };