svelte-kawaii
Version:
Svelte Kawaii is a Svelte port of React Kawaii, offering cute SVG illustrations to add adorable characters to your Svelte applications. A simple way to bring some cuteness to your UI.
25 lines (24 loc) • 611 B
TypeScript
import type { SVGAttributes } from 'svelte/elements';
export type TitleType = {
id?: string;
title?: string;
};
export type DescType = {
id?: string;
desc?: string;
};
export type KawaiiMood = 'sad' | 'shocked' | 'happy' | 'blissful' | 'lovestruck' | 'excited' | 'ko';
export type KawaiiProps = SVGAttributes<SVGElement> & {
size?: number | string;
color?: string;
mood?: KawaiiMood;
uniqueId?: string;
ariaLabel?: string;
title?: TitleType;
desc?: DescType;
};
export type KawaiiFaceProps = {
mood?: KawaiiMood;
uniqueId?: string;
transform?: string;
};