Types Overview
Sparkle provides comprehensive TypeScript definitions for all components, utilities, and design tokens.
Core Types
Section titled “Core Types”Component Props
Section titled “Component Props”ButtonPropsInputPropsThemeProviderProps
Theme Types
Section titled “Theme Types”ThemeConfigDesignTokenColorToken
Utility Types
Section titled “Utility Types”HTMLPropertiesBasePropsVariantProps
Type Safety
Section titled “Type Safety”All Sparkle APIs are fully typed for the best developer experience.