Put the countdown in a sentence. The Ended part shows when time is up.
launch-line.tsx
TextCountdownWords
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| locale | string | — | The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| date | DateLike | — | The moment the count ends. A date, epoch ms, or ISO text. |
| now | DisplayNow | — | A fixed now (stories, tests, a frozen view). Default: the live page clock. |
| max | number | 2 | At most this many units, from the biggest one that is not 0. Default 2 ("3 days, 4 hours"). |
| numerals | "digits""words" | "words" | words (default) writes the numbers in words in English ("three days"); other languages and digits write the digits ("3 days"): Intl has no spell-out. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
TextCountdownWordsValue
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| reserve | readonly string[] | — | Every text this morph can show (["Copy link", "Copied"]). The root keeps the width of the widest one, so a price or a badge never changes size between states; only the letters move inside it. Align the text in that width with justify-items-* on the root (start by default). Leave it out for text in a sentence: there the width slides instead. |
| variant | TEXT_BLUR_MORPH_LOOK | How the words change: the look of a morph item. Default: the look of Text Blur Morph. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |
TextCountdownWordsEnded
<span>| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | "Time is up" | The text at the end. Default "Time is up". |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |
Built with
Installs with Text Countdown Words
- Components
- Text Blur Morph



