Skip to content

Input Group Text

@astryxdesign/core v0.7.1 · InputGroupText

Props ​

PropTypeDefaultDescription
idstring—id for the text element. Useful when you need to target the prefix or suffix from a test or from aria-describedby.

Slots ​

  • default: the text or icon to show. Rendered as-is inside the text element.

Native attributes ​

The component renders a <span>. Attributes that are not props land on that span, so class and style style the prefix or suffix itself.