Skip to content

Function: Variant()

Variant(__namedParameters): Element

One candidate inside a Variants block. Purely a declarative marker: Variants reads its label and renders its children for the active index. It is not meant to be rendered on its own.

VariantProps

Element