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.

18 lines (17 loc) 564 B
import type { Snippet } from 'svelte'; import type { HTMLAttributes, HTMLAnchorAttributes } from 'svelte/elements'; interface AvatarProps extends HTMLAttributes<HTMLDivElement> { children?: Snippet; href?: HTMLAnchorAttributes['href']; target?: HTMLAnchorAttributes['target']; src?: string; cornerStyle?: 'rounded' | 'circular'; stacked?: boolean; dot?: object | undefined; alt?: string; size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl'; onclick?: () => void; border?: boolean; class?: string; } export { type AvatarProps };