PRO

Hover Bloom

Grow watercolor stems and flowers along the pointer path. An accumulating Canvas 2D painting with warm, cool, pink or custom palettes. Pure TSX, no assets or animation dependencies.

Component
Install
npx shadcn@latest add @compronents/hover-bloom

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
spawnOn"move" | "still""move"Move grows stems along the pointer path. Still spawns only on press, not continuously on hover.
growthMode"upright" | "creep""upright"Mostly upward stems or sideways vines.
spawnRatenumber10Stems per second of pointer movement.
maxBloomsnumber80Cap on active stem/flower records, not on pigment already painted.
resetOnLeavebooleanfalseClear the painting on pointer leave and enable trail fading.
backgroundColor / paperTintstring"#FFFFFF" / "#F5F5F5"Canvas background and translucent diagonal paper wash.
grid / gridSize / gridDotSize / gridColorboolean / number / number / stringtrue / 24 / 1 / "#CCCCCC"CSS dot grid behind the painted canvas. The opaque painting can cover it.
palette"mixed" | "warm" | "cool" | "pink""mixed"Preset flower hue collection.
customPalettereadonly string[]—Nonempty valid hex colors override the preset palette.
stemHue / stemSaturation / stemLightnessnumber115 / 28 / 38Stem HSL values, hue in degrees and saturation/lightness in percent.
flowerSaturation / flowerLightnessnumber78 / 66Flower saturation and lightness for preset palettes.
bloomScalenumber1Scale multiplier for stems, leaves and flowers.
blur / watercolor / trailFadenumber0.6 / 0.8 / 0.08Post-process blur in pixels, watercolor strength and reset-mode fade amount.
className / style / aria-labelstring / CSSProperties / string—Container sizing and accessible canvas description.
Dependencies
None.