Component Catalog

Icon

Named icon display mapped to the Lucide icon set.

A2UI → Nuxt UI Mapping

A2UI PropertyNuxt UI Result
nameUIcon with Lucide icon name
sizeCSS size class

Example JSONL

{"version":"v0.10","createSurface":{"surfaceId":"icon_demo","catalogId":"standard"}}
{"version":"v0.10","updateComponents":{"surfaceId":"icon_demo","components":[
  {"id":"root","component":"Row","children":["star","heart","settings"]},
  {"id":"star","component":"Icon","name":"star"},
  {"id":"heart","component":"Icon","name":"heart"},
  {"id":"settings","component":"Icon","name":"settings"}
]}}

Properties

PropertyTypeRequiredDefaultDescription
namestringIcon name (mapped to i-lucide-{name})
sizestringSize override

Rendering Details

  • A2UI icon names are prefixed with i-lucide- automatically
  • Uses Nuxt UI's UIcon component
  • Full Lucide icon set available via @iconify-json/lucide

Try It

Copy the JSONL above and paste it in the Playground Paste tab.