Skip to content
Menu

Text effects

Cube flip letters

Cube flip letters: Hovering a line turns every letter a quarter turn in 3D, one after another from a chosen origin, revealing a second face that carries the same glyph in the accent.

Using Cube flip letters

Cube flip letters uses the card preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
texttextMeasure twice, cut onceUp to 48 characters
directionselecttopOptions: top, right, bottom, left
originselectfirstOptions: first, last, center, random
staggernumber30From 0 to 120; step 5
accentcolor#38BDF8No additional limit in the metadata.
Which frameworks are available for Cube flip letters?

Cube flip letters is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Cube flip letters depend on?

The React metadata lists these npm dependencies beyond React: motion.

What accessibility details are visible in Cube flip letters?

The React source for Cube flip letters includes: attributes and handlers (aria-hidden, tabIndex). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Cube flip letters handle reduced motion?

Cube flip letters reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components