Skip to Content
LiveTile

LiveTile

Cycle decorative frames while keeping meaningful information available without animation.

Interactive example React 19 · local alpha

Usage

The example assumes the stylesheet and a Theme are already present.

import { LiveTile } from "@pane-ui/react"; <LiveTile label="weekend" accessibleLabel="Weekend plans: a coastal walk and lunch with friends." items={["Coastal walk", "Lunch with friends"]} />;

API

Prop / exportType / defaultPurpose
itemsreadonly ReactNode[]; requiredPresentational frames, not interactive descendants.
label, accessibleLabelReactNode, string; requiredVisible caption and a stable summary of meaningful content.
intervalMsnumber; default 5000Finite values clamp to at least 1000ms; nonfinite uses 5000ms.
paused, defaultPausedControlled boolean / initial boolean (false)Manual pause preference.
onPausedChange(paused: boolean) => voidRequests manual pause/resume.
size, accentDefaults "wide", "accent"Shared tile appearance.
Native props / refdiv except children / HTMLDivElementOrdinary root attributes and events.

Behavior and composition

Autoplay pauses while hovered, focused, manually paused, backgrounded or under reduced motion. The controlled paused prop represents the manual preference; environmental pauses are independent. Pause/Resume and Next are native buttons and remain available for manual use when there are at least two items.

The visual region is named by accessibleLabel. Frames are decorative and updates are silent: include important information in the stable summary, not only the current frame. Fewer than two items removes cycling controls. Empty items are accepted, but an empty visual rarely helps a user. Supply meaningful presentational content and avoid using a LiveTile as a live notification log.

Last updated on