Skip to main content

Interface: IconProps

Defined in: components/Icon/Icon.tsx:48

Props for the Icon component.

Properties

intent

intent: "disclosure.expand" | "disclosure.collapse" | "selection.checked" | "selection.indeterminate" | "action.close" | "action.search" | "action.increment" | "action.decrement" | "action.sortAscending" | "action.sortDescending" | "action.more" | "action.help" | "navigation.menu" | "status.success" | "status.alert" | "status.info"

Defined in: components/Icon/Icon.tsx:53

Semantic intent — what the icon means (icon.{family}.{intent}), not which glyph renders. The theme maps it to a glyph (default: Lucide).


label?

optional label?: string

Defined in: components/Icon/Icon.tsx:64

Accessible label. When omitted the icon is decorative (aria-hidden) — the default, since icons here reinforce a labelled host control. Supply a (caller-localized) label only when the icon is the sole carrier of meaning.


size?

optional size?: IconSize

Defined in: components/Icon/Icon.tsx:57

Size step, mapped to vars.sizing.icon.{size}. Defaults to md.