Skip to content
Components

Metric Components

Add countdown timers and step indicators to your flows.

Metric Components

Metric components communicate progress, urgency, and status. Use a countdown timer to create urgency around a time-sensitive offer, and a progress indicator to show users where they are in a multi-screen flow.

Countdown Timer

A timer that counts down to a deadline, creating urgency for limited offers or onboarding windows.

Properties

PropertyTypeDefaultDescription
Labeltext--Optional label shown above the timer.
Modeselectdurationduration counts down a fixed number of seconds. targetDate counts to a date.
Durationnumber300Seconds to count down. Used when Mode is duration.
Target Datetext--The deadline to count to. Used when Mode is targetDate.
Expired TexttextOffer expiredShown once the timer reaches zero.
Styleselectboxesboxes, inline, or flip (flip-clock style).
Show DaysbooleantrueInclude the days unit.
Show HoursbooleantrueInclude the hours unit.
Show MinutesbooleantrueInclude the minutes unit.
Show SecondsbooleantrueInclude the seconds unit.
Number Colorcolor#000000Color of the digits.
Label Colorcolor#6B7280Color of the unit labels.
Background Colorcolor--Background behind each digit group.
Alignmentselectcenterleft, center, or right.
On Expireaction--Action to run when the timer reaches zero.
Marginspacingbottom 16Outer spacing.

Pick the mode that matches your intent. targetDate counts to a fixed moment, so every user sees the same deadline and the timer stays correct after the app is backgrounded. duration counts a fixed span from when the screen appears, so the deadline is personal to each user.

Use cases

  • Limited-time discount on a paywall screen.
  • A trial-ending reminder counting to the exact expiry date.
  • A flash-sale banner that swaps to expired copy when it ends.

Progress Indicator

Shows how far along the user is in a multi-screen flow. Use it on onboarding and quiz flows so people can see how much is left.

Properties

PropertyTypeDefaultDescription
Styleselectdashdash, dot, line, bar, segmented, circular, or steps.
Total Stepsnumber3How many steps the indicator represents.
Current Stepnumber0The active step, counting from 0.
Show Step NumbersbooleanfalseDisplay the step number alongside the indicator.
Active Colorcolor#5F5F5FColor of completed and current steps.
Inactive Colorcolor#DADADAColor of remaining steps.
Widthnumber44Width of each indicator element.
Heightnumber6Height of each indicator element.
Gapnumber8Spacing between elements.
Border Radiusnumber3Corner rounding of each element.
Alignmentselectcenterleft, center, or right.
Marginspacing0Outer spacing.
Paddingspacing0Inner spacing.

Setgreet fills in the position automatically. When a flow is served, Total Steps and Current Step are rewritten to match the screen's real place in the flow, including branching paths, so you do not have to update the numbers on every screen by hand.

Use cases

  • A dash or dot indicator across an onboarding sequence.
  • A steps indicator on a multi-part form so users can see what remains.
  • A circular indicator on a compact screen where a full-width bar would not fit.

On this page