Skip to content
Corex

Tooltip

Style

Semantic colors, size, and corner radius via modifier classes on the tooltip root.

Semantic

Use class="ui-{role}" to set the semantic palette of a tooltip.

Available options: accent, alert, brand, info, success

Variant

Variant modifiers control tooltip surface treatment. Default is subtle (neutral fill and border; semantic roles tint text ink); add ui-solid for a filled surface.

Semantic × variant

Combine semantic palette and variant treatment on the same host, for example tooltip ui-accent ui-solid.

Size

Use class="ui-size-{size}" to set the size of a tooltip.

Available options: xs, sm, md (default), lg, xl

Rounded

Use class="ui-rounded-{step}" to set the corner radius of a tooltip.

Available options: none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, full (default)