Skip to content
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
  1. Pinned

    We are live from the studio

    Tonight we build a vocal booth from a wardrobe. Ask your questions in the chat.

  2. ★ Key moment

    Budi swaps the dynamic mic for a condenser. The hiss is gone.

  3. First test take. The room echo is clear on the playback.

  • updates is the list of updates, newest first. Each update has an id, a time as text, and a body. It can also have a title, pinned, and key.
  • 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.
  • live shows a "Live" tag. Outside reduced motion, its dot pulses.
  • Change the words with labels or a label pack: title, live, pinned, key, and show (a function).

Usage ​

ts
import { BlessLiveBlog } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
updates*BlessLiveUpdate[]—newest first
liveboolean—the event is still going on
labelsPartial<{ title: string; live: string; pinned: string; key: string; show: (count: number) => string; }>—

Released under the MIT License. Character names and artwork belong to their owners.