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) • 591 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLInputAttributes } from 'svelte/elements';
import { type ColorName } from '../../types';
interface FloatingLabelInputProps extends Omit<HTMLInputAttributes, 'size'> {
children: Snippet;
id?: string;
value?: string | number | readonly string[] | undefined;
aria_describedby?: string;
inputStyle?: 'filled' | 'outlined' | 'standard';
size?: 'small' | 'default';
color?: ColorName | 'default';
divClass?: string;
inputClass?: string;
labelClass?: string;
}
export { type FloatingLabelInputProps };