Expand description
Variant phantom types for type-safe styling.
These zero-sized types encode component variants at compile time, enabling monomorphization for optimal performance.
Structs§
- Default
Input - Default input variant.
- Destructive
- Destructive variant - dangerous/irreversible actions.
- Filled
Input - Filled input variant.
- Ghost
- Ghost variant - subtle, minimal styling.
- Outline
- Outline variant - bordered with transparent background.
- Primary
- Primary variant - main call-to-action.
- Secondary
- Secondary variant - alternative actions.
Traits§
- Button
Variant - Trait for button variants with compile-time style resolution.
- Input
Variant - Trait for input variants.