Pineapple Builder

Icon

Use a symbol, uploaded icon or initials to support a short piece of content.

Code name: Icon · Category: Media

Registered in the live renderer. Website context and the limitations below still apply.

When to use it

Use icons next to service descriptions or contact details. Keep a text label nearby when the meaning would otherwise be unclear.

In the editor

  1. Choose a supported icon, upload an icon source or enter initials.
  2. Set its size and colour.
  3. Check the icon against the background and its accompanying text.

Example

This example uses illustrative content. Media placeholders must be replaced with your own assets; data-backed blocks need the normal website context.

<Icon icon="Mail" width={32} />

Behaviour and limitations

  • icon is a supported icon name; iconSrc is a custom image source. Do not invent icon names.
  • Icons are visual content; use a Button when visitors need an action.

Property reference

Types below describe the editor controls and known choices, not every value accepted by the renderer. A renderer default is extracted from its parameter; an editor-only default does not prove the runtime default. “Not declared here” does not mean required. Preserve omitted values unless the requested edit needs them.

PropertyEditor value typeDefault evidenceGuidance
iconstring"Activity" (renderer)Icon. See the usage notes for this block.
iconSrcstringNot declared hereCustom Icon. See the usage notes for this block.
initialsstring"" (renderer)Initials. See the usage notes for this block.
widthnumber45 (renderer)Width. See the usage notes for this block.
strokeWidthnumber2 (renderer)Stroke Width. See the usage notes for this block.
fontSizenumber0.75 (renderer)Font Size. See the usage notes for this block.
fontWeightnumber400 (renderer)Font Weight. See the usage notes for this block.
showBorderbooleanfalse (renderer)Show Border. See the usage notes for this block.
outlineInitialsbooleanfalse (renderer)Outline Initials. See the usage notes for this block.
borderRadiusnumber0 (editor only)Border Radius. See the usage notes for this block.
colorstring"rgba(0, 0, 0, 1)" (editor only)Color. See the usage notes for this block.
backgroundColorstringNot declared hereBackground colour. Theme-derived appearance can still depend on the surrounding section.
align"left", "center", "right""center" (renderer)Align. See the usage notes for this block.
alignVerticalSee guidance"" (renderer)Vertical alignment within the surrounding layout.
spacingobjectNot declared hereAn object of spacing settings. Preserve existing responsive values when changing a single setting.
animationType"none", "fade-up", "fade-down", "fade-left", "fade-right", "flip-up", "flip-down", "flip-left", "flip-right", "zoom-in", "zoom-left", "zoom-right""" (renderer)Entrance animation setting. Use a supported editor value; preserve it for unrelated edits.
screenListstring"" (renderer)Comma-separated device names to hide on: mobile, tablet, desktop. An empty string hides on none.
cssstringNot declared hereCustom CSS text. Preserve unrelated rules and prefer the dedicated property for supported edits.
Pineapple Builder - AI Website Builder Create Docs