Skip to content
Preview
Worked for 6s, 2h ago500K context, Low to Extra high, Uses credits fasterLinux, arm64, app

Meta

items
readonly ReactNode[]
The facts, in order. Each one is rendered as its own span. Pass elements when a fact needs its own structure (an icon, a tooltip). Omit to pass them as children instead.
fit
"shrink" | "drop" | "wrap"
Default: "shrink"
Short of room. shrink: the later facts give way first, each truncating in its own box. drop: each fact whole or not at all, the later ones going first. wrap: each fact whole, the line breaking between facts.
rootStyle
RootStyle<MetaKnobs>
Typed StyleX override: layout and the --meta-* knobs.
children
ReactNode
The facts, when items is omitted.

Rest props go to <span> props.

State machine

PreviewFacts appear together in a compact line.
Worked for 6s, 2h ago