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) 317 B
import type { Snippet } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; type TagType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | undefined; interface HeadingProps extends HTMLAttributes<HTMLElement> { children: Snippet; tag?: TagType; class?: string; } export { type HeadingProps };