Skip to content
Menu

Text effects

Twinkle highlight text

Twinkle highlight text: Bold highlighted text with small four-pointed sparkle stars that continuously pop in and out at random positions around and over the letters.

Featured

Using Twinkle highlight text

Twinkle highlight text uses the inline 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
texttextFeaturedUp to 24 characters
sparkleCountnumber10From 0 to 24; step 1
colorOnecolor#38BDF8No additional limit in the metadata.
colorTwocolor#F5C542No additional limit in the metadata.
Which frameworks are available for Twinkle highlight text?

Twinkle highlight 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 Twinkle highlight text depend on?

The React metadata lists no additional npm dependencies beyond React.

What accessibility details are visible in Twinkle highlight text?

The React source for Twinkle highlight 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 Twinkle highlight text handle reduced motion?

Twinkle highlight text 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