IVariantProps
interface
Design & Variants
Visual variant contract — accepts both action-style (text/flat/elevated/tonal/outlined/plain) and input-style (solo/filled/underlined/…) variants so a single prop type fits every consumer.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- variantTVariant | TVariantInput
- Visual rendering style — action variants (text, flat, elevated, tonal, outlined, plain) or input variants (solo, filled, underlined, solo-filled, solo-inverted).
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Extending IVariantProps on a custom button