Calm motion: animations on this site only fade, with no movement
Live blog
Timed updates that arrive while the reader reads, with a new-updates button
Follows an event as it happens, such as a launch, a match, or a live show. Your app adds the updates. The component shows them.
Basic
Live
We are live from the studio
Tonight we build a vocal booth from a wardrobe. Ask your questions in the chat.
Budi swaps the dynamic mic for a condenser. The hiss is gone.
First test take. The room echo is clear on the playback.
updatesis the list of updates, newest first. Each update has anid, atimeas text, and abody. It can also have atitle,pinned, andkey.- Pinned updates stay on top. A key moment has a mark, the word "Key moment", and a thick edge.
- New updates do not push the text down while the reader reads. They wait behind a button, such as "Show 2 new updates". A hidden status line says the same. The button shows the updates and moves the focus to the newest one.
- The first updates to load show at once. Only updates that come after them wait behind the button.
liveshows a "Live" tag. Outside reduced motion, its dot pulses.- Change the words with
labelsor a label pack:title,live,pinned,key, andshow(a function).
Usage
ts
import { BlessLiveBlog } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
updates* | BlessLiveUpdate[] | — | newest first |
live | boolean | — | the event is still going on |
labels | Partial<{ title: string; live: string; pinned: string; key: string; show: (count: number) => string; }> | — |