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.

17 lines (16 loc) 508 B
import type { Snippet } from 'svelte'; import type { SizeType, ColorName } from '../../types'; import type { HTMLInputAttributes } from 'svelte/elements'; interface RadioButtonProps<T> extends HTMLInputAttributes { children: Snippet; group?: T; value?: T; inline?: boolean; pill?: boolean; outline?: boolean; buttonSize?: SizeType | undefined; color?: ColorName | 'alternative' | 'dark' | 'light'; shadow?: boolean; class?: string; } export { type RadioButtonProps };