Skip to content

Icon

Shows one of the built-in icons.

Use it for: Mark a row or a button. label is what VoiceOver reads.

  • CategoryVisual
  • ChildrenNone
  • DataNone
  • ActionNone
Prop Required Accepts What it does
name Yes activity, plus, check, chevron-right, trash, home, edit Which icon to show.
label Yes text, up to 200 characters The visible label, also read by VoiceOver.

Every component also accepts id (required, unique on its screen), and the optional preset and style described in Style options.

{
"id": "done-icon",
"type": "Icon",
"props": {
"name": "check",
"label": "Done"
},
"style": {
"color": "$color.success"
}
}