UNPKG

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.

22 lines (21 loc) 632 B
import type { Snippet } from 'svelte'; import type { HTMLAttributes } from 'svelte/elements'; export interface TabProps extends HTMLAttributes<HTMLElement> { inlineIcon?: boolean; value: string | number; href?: string; icon?: Snippet; badge?: boolean; badgeLabel?: string | number; element?: HTMLElement; } export interface TabsProps extends HTMLAttributes<HTMLElement> { variant?: 'primary' | 'secondary'; value: string | number; element?: HTMLElement; } export interface TabsContext { value: string | number; indicatorValue: string | number; variant: 'primary' | 'secondary'; }