Pineapple Builder

Number counter

Present a numeric fact with an optional prefix, suffix and count-up animation.

Code name: Number · Category: Text

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

When to use it

Use a counter for a factual statistic you can substantiate. Add enough nearby text to explain what the number measures.

In the editor

  1. Enter the verified number.
  2. Set a prefix or suffix if needed.
  3. Adjust animation duration and check the surrounding explanation.

Example

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

<Number number={3} suffix=" steps" duration={1.2} />

Behaviour and limitations

  • A displayed number is not connected to live analytics automatically.
  • Do not invent client counts, savings or performance claims. The example is illustrative content, not a business result.

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
numbernumber100 (renderer)Number. See the usage notes for this block.
prefixstring"" (renderer)Prefix. See the usage notes for this block.
suffixstring"" (renderer)Suffix. See the usage notes for this block.
fontSizenumber48 (renderer)Font Size. See the usage notes for this block.
fontWeight300, 400, 500, 600, 700, 800, 900700 (renderer)Font Weight. See the usage notes for this block.
colorstring"rgba(0, 0, 0, 1)" (editor only)Font Color. See the usage notes for this block.
durationnumber1.2 (renderer)Animation Duration (s). See the usage notes for this block.
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.
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