Skip to content
Back

Scroll titlePro

A section title that comes in as it scrolls into view: blur, word, line, tracking or wipe; once, or again on every entry with a quick fade out.

oxyn add scroll-title

Every run, start to finish

The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • A section title that comes in as it scrolls into view (host-observed, e.g. 45 % visible): blur (default; opacity leads, blur clears next, the transform settles last), word and line (rise from a clip; line takes explicit lines), tracking (letter spacing opens), wipe (uncovers left to right).
  • With once = false it hides with a quick fade and plays again.

When not to use

  • An agent asks before it acts: use Approval Card instead.
  • Several open requests in one card: use Approval pager instead.
  • An agent's question in its own card above the composer: use Decision Card instead.

Installation

Scroll title is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add scroll-title

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Blur

Opacity, then blur, then transform.

Every run, start to finish

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Word

Words rise from a clip.

Every run, start to finish

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Line

Explicit lines rise.

Every run,start to finish

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Tracking

Letter spacing opens.

Every run, start to finish

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Wipe

Uncovers left to right.

Every run, start to finish

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

ScrollTitle

PropTypeDefaultDescription
textrequiredString—Title.
variantString"blur"`blur` · `word` · `line` · `tracking` · `wipe`.
tagString"h2"`h1` · `h2` · `h3`.
linesVec<String>Default::default()Explicit lines for `line`.
shownrequiredbool—In view (host-observed, e.g. 45 % visible).
oncebooltrueReveal only the first time.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
—Not interactive

Accessibility

  • A real heading element with the full title as its label.
From the spec
  • A real heading with the full title as its label.

Motion & interaction

Timing
  • Reduced motion: no rise, blur or stagger; labels and values swap instantly (slot reels land at once, the shimmer band stops and the text stays muted).

Responsive behaviour

  • Lines wrap; the line variant keeps explicit breaks.
Edge cases (spec)
  • Lines wrap.

Notes for AI

  • Import ScrollTitle from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • There is no GPUI version yet; use the Dioxus component.
  • Props to set first: text, shown.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI