noph-ui
Version:
Noph UI is a modern, powerful UI library for Svelte 5, fully aligned with the Material 3 guidelines. Build stunning, consistent user interfaces with the efficiency and flexibility of Svelte and Google’s Material Design framework.
9 lines (8 loc) • 322 B
TypeScript
import type { HTMLInputAttributes } from 'svelte/elements';
export interface SwitchProps extends Omit<HTMLInputAttributes, 'type' | 'role' | 'checked' | 'indeterminate'> {
selected?: boolean;
disabled?: boolean;
icons?: 'selected' | 'both';
inputElement?: HTMLInputElement;
element?: HTMLDivElement;
}