Backgrounds/Prism Tiles

Prism Tiles

A responsive field of beveled glass tiles carrying animated ribbons of prismatic light.

Interactive example

PRISM /Made with QB UI
A new perspective on design

Make room for
a different kind of brilliant.

Shape a digital experience that feels unmistakably yours. Thoughtful details. Endless possibilities.

Independent by designMade with intentionEvery detail matters

Customize

Shape the glass lattice and its moving light bands.

Direction

Top → Bottom

Drag the dial or use arrow keys.

Light pattern

Installation

Run the CLI from your project root. Dependencies and component source are added automatically.

$npx @quackbytes/ui add prism-tiles

Usage

The generated file lives in your repository, so the component API and styles remain fully editable.

example.tsx
import { PrismTiles } from "@/components/quack/backgrounds/prism-tiles"

export function PrismTilesDemo() {
  return (
    <PrismTiles
      className="min-h-[420px]"
      direction="top-to-bottom"
      pattern="ribbon"
      speed={1}
      opacity={1}
      chromaticSpread={0}
      tileDensity={4}
      rippleLayers={6}
      warpStrength={0.33}
      bandSharpness={3}
      colorA="#f4c95d"
      colorB="#e97832"
      backgroundColor="#0c0b09"
    />
  )
}