children | ReactNode | — | The label, such as "Thinking…". Copy from the caller. |
active | boolean | true | Sweeps a highlight across the label while true. False renders the label as plain text at the subtle tier, in the
same place, so toggling it moves nothing. |
base | ShimmerBase | ShimmerBase.Dim | Tier the label rests at between sweeps. Readable keeps the label at AA text contrast while it sweeps, for a
label someone reads (a streaming "Thinking…"); the default Dim is a loading placeholder under that floor. |
className | string | — | Classes appended after the generated classes. |
icon | Glyph | — | Leading glyph. It is decorative, stays when active is false, and sweeps in phase with the label. |
id | string | — | Id of the root element. |
ref | Ref<HTMLSpanElement> | — | Ref to the root element. |
type | TextType | TextType.BodyMedium | Typography role of the label. |