UNPKG

svelte-animated-icons

Version:

A collection of animated SVG icons for Svelte with customizable draw transitions, events, and accessibility features. Each icon supports hover/click animations, customizable colors, sizes, and stroke widths.

23 lines (22 loc) 499 B
import type { SVGAttributes } from 'svelte/elements'; type TitleType = { id?: string; title?: string; }; type DescType = { id?: string; desc?: string; }; export interface BaseProps extends SVGAttributes<SVGElement> { size?: string; role?: string; color?: string; variation?: 'solid' | 'outline' | 'mini' | 'micro'; strokeWidth?: string; } export interface Props extends BaseProps { title?: TitleType; desc?: DescType; ariaLabel?: string; } export {};