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.
34 lines (33 loc) • 800 B
TypeScript
import type { SVGAttributes } from 'svelte/elements';
type TitleType = {
id?: string;
title?: string;
};
type DescType = {
id?: string;
desc?: string;
};
interface Props extends SVGAttributes<SVGElement> {
title?: TitleType;
desc?: DescType;
ariaLabel?: string;
size?: number;
role?: string;
color?: string;
strokeWidth?: number;
}
/**
* [Go to docs](https://svelte-animated-icons.codewithshin.com/)
* ## Props
* @prop size = 24
* @prop role = 'img'
* @prop color = 'currentColor'
* @prop strokeWidth = 1.5
* @prop title
* @prop desc
* @prop ariaLabel = 'archive box'
* @prop ...restProps
*/
declare const BeakerCustom: import("svelte").Component<Props, {}, "">;
type BeakerCustom = ReturnType<typeof BeakerCustom>;
export default BeakerCustom;