Props
| Name | Description |
|---|---|
icon requiredType: string | Name of a registered icon to use, or a full raw Three forms: |
label Type: string | Label of the icon for accessibility. Set it only when the icon is the only thing carrying the information. Beside its own text an icon should stay unlabelled, so assistive tech does not announce the same fact twice. It produces no |
pt Type: PtMap<"root", never> | Passthrough, object form: |
pt:<part> Type: PtValue | Passthrough, attribute form: one attribute per part, |
size Type: number | CssSize | keyof SizesDefault"md" | Defines the component size.
Accepted values:
- A key from the provided size map ( The named keys come from the scale |
Renamed and removed
Names from v2 and from earlier 3.0 betas that no longer work, and what to write instead.
colorremovedfails silentlytypeicon