Icon
Overview
A single icon from the built-in library, in any size and colour. Use it to decorate labels, illustrate features or signal status.
When to use
- A check mark next to each feature on a pricing card.
- A phone icon before a phone number.
- A large illustrative icon in an empty state.
- A warning icon in front of a note.
When not to use
- The icon should do something: use Icon Button.
- You need your own logo or artwork: use Image.
Quick start
- Drag Icon where it belongs (one grid column).
- Pick the Icon, set Size (px) and optionally a Colour.
- Place it in a Row next to a Text to make a labelled line.
Properties
Name of the icon from the library.
Default: Star
Example: CircleCheck
Icon size in pixels.
Options: 10 to 128
Default: 24
Icon colour. Empty uses the theme's primary colour; any CSS colour or theme variable works.
Example: var(--mab-muted)
Events
- On click
- Optional actions when the icon is clicked. Prefer Icon Button for real actions so the icon is keyboard-accessible.
Actions
Open the Actions tab in the inspector, pick an event and add actions such as Go to page, Create record or Show message. Actions run in order; data-changing actions run on the server with the signed-in user's permissions.
Responsive behavior
Uses 1 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.
Permissions
Use the Permissions tab to choose which app roles receive this component; the server leaves it out for everyone else. This hides the component, not the data it shows — record access is set under Users → Roles & permissions.
Accessibility
- A plain icon has no text alternative — always pair it with visible text or use Icon Button with a label when it carries meaning.
Examples
Feature line
Row (Align: center) Icon "CircleCheck" (size 18, colour var(--mab-success)) Text "Free cancellation"
Common patterns
- Use the muted colour for decorative icons and the primary colour for emphasis.
Limitations
- Icons are from the built-in set only; custom SVGs are not supported — upload an Image instead.
- The icon cannot be bound to data (the name is fixed).