UnreviewedAny data-* attribute is forwarded to the rendered element.
Any aria-* attribute is forwarded to the rendered element.
UnreviewedshapeWhich icon to render. The set of valid shapes comes from Anta's
built-in icons plus any consumer-generated shapes (via the
IconShapes interface module augmentation).
Optional UnreviewedsizeWidth and height in pixels.
Optional UnreviewedlabelAccessible name for the icon. When set, the wrapper exposes
role="img" and aria-label={label} so screen readers announce
the icon. When omitted (the default), the icon is treated as
decorative — aria-hidden="true" is applied so it doesn't add
noise alongside neighbouring text.
Optional UnreviewedclassCSS class on the component's root element (merged with the component's own
classes). Use it directly for layout and positioning — grid/flex placement,
margins, alignment — rather than wrapping the component in a <div>/<span>.
Optional UnreviewedstyleInline styles on the component's root element. Set layout/positioning here
(or via className) directly on the component instead of adding a wrapper.
Optional UnreviewedchildrenChild elements. When provided, replaces the component's default label/content.
Optional UnreviewedidHTML id attribute.
Optional UnreviewedtitleHTML title attribute — native browser tooltip on hover.
Optional UnreviewedslotAssigns the element to a named <slot> of a parent web component (e.g.
slot="header" inside a <Card>, slot="footer" inside a <Dialog>).
Optional UnreviewedtabTab order. Set to -1 to skip the element when tabbing.
Optional UnreviewedkeyReact/Preact reconciliation key when rendered inside a list. Consumed by the JSX runtime (not forwarded as a DOM attribute).
Common props for JSX component wrappers.