Color Drip
Animated vertical lines with colorful dripping effects. Perfect for creating dynamic backgrounds with a matrix-like or rain-inspired aesthetic.
Preview
Color Drip
Installation
Use the CLI to add this component to your project.
Usage
tsx
17 linesCopy
Color Schemes
Rainbow
Neon
Pastel
Fire
Ocean
Mono
Animation Options
Fast Animation (2x speed)
Upward Direction
With Static Lines
High Density Lines
Tall Drip Effect
Custom Colors
Props
| Prop | Type | Default | Description |
|---|---|---|---|
lineCount | number | 10 | Number of drip lines |
colorScheme | 'rainbow' | 'neon' | 'pastel' | 'fire' | 'ocean' | 'mono' | 'custom' | rainbow | Color theme preset for the drip effect |
customColors | string[] | undefined | Array of custom colors (used when colorScheme is 'custom') |
speed | number | 1 | Animation speed multiplier |
dripHeight | number | 15 | Height of the drip trail in viewport height units |
lineWidth | number | 1 | Width of each line in pixels |
backgroundColor | string | #111111 | Background color |
containerWidth | string | 90vw | Width of the container |
showStaticLines | boolean | false | Show static line behind the drip |
staticLineColor | string | rgba(255, 255, 255, 0.05) | Color of static lines |
direction | 'down' | 'up' | down | Direction of the drip animation |
staggerDelay | number | 0.5 | Delay between each line animation (seconds) |
className | string | undefined | Additional CSS classes |