Skip to main content

atoms

Icon

A decorative icon from a small registry of SVG paths and arrows, sized by name and coloured with the current text colour.

Specimens

Chevron
{{ Icon.render({
  name: "chevron-right",
  size: "lg",
  classes: "text-primary-400"
}) }}
External link
{{ Icon.render({ name: "external-link", size: "xl" }) }}
Arrow The arrows are Unicode glyphs rather than paths.
{{ Icon.render({
  name: "arrow-right",
  size: "2xl",
  classes: "text-neutral-100"
}) }}
Unknown name A name outside the registry renders a visible error box.
?
{{ Icon.render({ name: "not-an-icon" }) }}

Params

ParamTypeDescription
namestringKey in the svg or unicode registry. Includes chevron-left/chevron-right and grid (Material “grid_view”, added 2026-10-02 for the pager’s “All” link).
sizestringxs…2xl (sets w-*/h-*). Use this for size rather than passing w-*/h-* in classes: both would set the same properties, and the winner would depend on CSS order.
classesstring | variant map | arrayString, variant map, or array (applied through | classes).

Notes

Sizes are xs, sm, md, lg, xl, and 2xl. Icons are aria-hidden, so pair them with visible text or an aria-label on the parent.