React Bits

Prism

Rotating prism of glowing spectral light with configurable shape, colors and motion.

Prism, a React Bits component

Use Prism in your project

Choose JavaScript or TypeScript and plain CSS or Tailwind. Enable JavaScript for the interactive preview, customization controls and source tabs.

npx shadcn@latest add @react-bits/Prism-TS-TW
How to install React Bits components

Related components

  • Hyperspeed

    Night highway of glowing light trails on a winding road that warps into hyperspace while you hold.

  • Orb

    A glowing ring of swirling color that breathes, trails an orbiting light and reaches toward the cursor.

  • Sliced Waves

    Waves of colored light sliced into glowing bars, seen in depth with a focus that follows the cursor.