Kinetik UI

Countdown

.md

A countdown whose digits drop in as they change; at zero the tiles step back for a Live pill with a beating dot.

v1.0.0Live on webreact-native-reanimatedreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add countdown

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/countdown.json

Install manually

  1. Install dependencies
    npx expo install react-native-reanimated react-native-worklets
  2. Copy the source files
    • components/kinetik/countdown.tsx
    View source files

Usage

import { Countdown } from '@/components/kinetik/countdown';

<Countdown
  to={new Date('2026-11-02T17:00:00Z')}
  accessibilityLabel="The keynote starts in"
  onComplete={() => setLive(true)}
/>;

When to use

  • Launches, sales, live events and deadlines where the exact moment matters.
  • A waiting screen before something opens.

When not to use

  • Elapsed time, like a stopwatch or a call length. Count up instead.
  • Anything that could pressure people unfairly, such as fake scarcity timers.

Notes

  • It ticks on the second boundary, so the seconds change with the system clock; days appear only when the countdown starts a day or more away.
  • At zero the tiles give way to liveLabel with a beating dot, and onComplete is called once.
  • Screen readers read it as a timer, such as "Starts in 2 hours, 30 minutes", without seconds unless under a minute.
  • With reduced motion digits change in place and the dot does not beat.

Props

CountdownProps

PropTypeDefaultDescription
torequiredDate | number—When it reaches zero: a Date or a timestamp in milliseconds.
onComplete() => void—Called once when the time is up.
labelsPartial<Record<keyof CountdownParts, string>>—Words under each unit. Defaults to English.
liveLabelstring'Live now'Shown once the time is up. Defaults to "Live now".
accessibilityLabelstring'Starts in'Read before the time by screen readers. Defaults to "Starts in".
testIDstring—
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
One timer per second re-renders a few text cells; each changed digit animates two texts. Once live, only the dot loops.
Measured

Pixel 9 emulator, API 35, release build · interaction median 0.94× the system Settings app on the same emulator (indicative only) · keeps drawing at rest · 148 MB app memory. Animating at rest: the seconds tick once a second. A finished countdown only loops the dot.

Real-device measurement pending.

Accessibility

Reduced motion
Digits change in place and the live dot holds still.
Screen readers
A timer that reads the time left in words, then the live label.
Touch target
Not interactive.

Source files

components/kinetik/countdown.tsx is in the Code tab of the preview above.