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.

10 lines (9 loc) 516 B
import type { Snippet } from 'svelte'; import type { HTMLAnchorAttributes } from 'svelte/elements'; type AnchorColorType = 'primary' | 'secondary' | 'gray' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | undefined; interface AnchorProps extends HTMLAnchorAttributes { children: Snippet; color?: AnchorColorType; class?: string; } export { type AnchorProps, type AnchorColorType };