Skip to content
Menu

Text effects

Physics drop text

Physics drop text: A sentence breaks into words that fall, tumble and bounce under simulated gravity, then settle and can be flicked around with the pointer.

Using Physics drop text

Physics drop text uses the wide 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
texttextComponents fall into place with real gravity and physicsUp to 90 characters
gravitynumber0.6From 0 to 2; step 0.1
highlightColorcolor#38BDF8No additional limit in the metadata.
triggerselectautoOptions: auto, scroll, click, hover
Which frameworks are available for Physics drop text?

Physics drop text 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 Physics drop text depend on?

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

What accessibility details are visible in Physics drop text?

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

How does Physics drop text handle reduced motion?

Physics drop text reads the motion preference in its React source through useReducedMotion(). 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