Skip to content
PixiKit

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
NameTypeDefaultDescription
variant"default" | "blue" | "yellow" | "pink""default"A ready-made palette with its own gap and speed. Any prop you pass overrides it.
colorsstring | string[]NonePixel colors, as an array or a comma-separated string. Each pixel picks one at random.
glowColorstringNoneColor of the soft light that follows the cursor across the card.
gapnumberNoneDistance between pixels, in px.
pixelSizenumber2Largest size a pixel grows to, in px.
speednumberNoneHow 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.
revealDurationnumber600How long the wave takes to sweep across the card, in ms.
spotlightnumber0.5How much pixels near the cursor swell and brighten, from 0 to 1.
glownumber0.5Strength of the soft light under the pixels.
opacitynumber1Opacity of the pixels and glow. Lower it to keep text on the card easy to read.
fadenumber0Fades 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.
clickPulsebooleantrueClicking sends a ripple of brighter pixels out from the click.
introbooleantruePlays the reveal once when the card first scrolls into view.
introDelaynumber0Wait before the intro, in ms. Stagger it across a row of cards.
noFocusbooleanNoneStops keyboard focus from triggering the effect.
theme"dark" | "light""dark"Color theme of the card.
radiusnumber24Corner radius of the card, in px.
classNamestring""Extra class names for the card.
styleCSSPropertiesNoneInline styles for the card.
childrenReactNodeNoneCard content. It is centered and sits above the pixels.

More interaction components in Pro

View all

Related