Component props extend Svelte’s HTML attribute types (svelte/elements). Optional props respect exactOptionalPropertyTypes.
Patterns in this port
$props()/$bindablefor controlled values- Snippet types for
childrenand render-state children - Namespace objects for compound components (
typeof Popover)
Shared naming still tracks Base UI; React-specific types (useRender.ComponentProps, etc.) do not apply. See Differences and Composition.
Upstream: Base UI TypeScript.