1 | |
Primary inline text in Figma's Paragraph/Regular style, with an optional caller-selected 16px leading icon.
| Prop | Type | Default |
|---|---|---|
text
Text content. Also accepts a content block.
|
String | nil |
icon
Optional caller-selected Central icon name. Add the exact glyph in the consumer with `node script/icons-central.mjs add <name>`, then pass that name here. Text does not own a fixed icon fixture.
|
String | nil |
**html_options
Extra HTML attributes (id, class, data-*, aria-*, …).
|
Hash | — |