Pixel Bloom Card
A card whose surface fills with twinkling pixels in a wave on hover, with a cursor spotlight, a soft glow and a ripple on click.
pixikit.com/docs/components/pixel-bloom-card
Customize
Variant
Colors0 of 10
Glow color
Gap5px
Pixel size2.0px
Speed35
Shape
Origin
Reveal duration600ms
Spotlight0.50
Glow0.50
Opacity0.35
Fade0.70
Trigger
Click pulse
Intro
Intro delay0ms
No focus
Theme
Radius24px
Props
23| Name | Type | Default | Description |
|---|---|---|---|
variant | "default" | "blue" | "yellow" | "pink" | "default" | A ready-made palette with its own gap and speed. Any prop you pass overrides it. |
colors | string | string[] | None | Pixel colors, as an array or a comma-separated string. Each pixel picks one at random. |
glowColor | string | None | Color of the soft light that follows the cursor across the card. |
gap | number | None | Distance between pixels, in px. |
pixelSize | number | 2 | Largest size a pixel grows to, in px. |
speed | number | None | How fast the pixels twinkle, from 0 to 100. 0 holds them still. |
shape | "square" | "circle" | "diamond" | "square" | Shape of each pixel. |
origin | "center" | "pointer" | "center" | Where the reveal wave starts: the middle of the card, or wherever the pointer enters. |
revealDuration | number | 600 | How long the wave takes to sweep across the card, in ms. |
spotlight | number | 0.5 | How much pixels near the cursor swell and brighten, from 0 to 1. |
glow | number | 0.5 | Strength of the soft light under the pixels. |
opacity | number | 1 | Opacity of the pixels and glow. Lower it to keep text on the card easy to read. |
fade | number | 0 | Fades the pixels out toward the middle so they frame your content, from 0 to 1. |
trigger | "hover" | "click" | "always" | "hover" | What turns the effect on: hovering or focusing the card, clicking it on and off, or always on. |
clickPulse | boolean | true | Clicking sends a ripple of brighter pixels out from the click. |
intro | boolean | true | Plays the reveal once when the card first scrolls into view. |
introDelay | number | 0 | Wait before the intro, in ms. Stagger it across a row of cards. |
noFocus | boolean | None | Stops keyboard focus from triggering the effect. |
theme | "dark" | "light" | "dark" | Color theme of the card. |
radius | number | 24 | Corner radius of the card, in px. |
className | string | "" | Extra class names for the card. |
style | CSSProperties | None | Inline styles for the card. |
children | ReactNode | None | Card content. It is centered and sits above the pixels. |