BackgroundsProNew

Halftone Waves

Waves drawn with dots of varying size, like newspaper print. The dots grow and shrink with the wave.

Customize

color
background

A Codearia component · Terms of use

Props

8 properties
PropertyTypeDefaultDescription
colorstring"#e5e5e5"Dot color.
backgroundstring"#0a0a0a"Color behind the dots.
cellSizenumber10Dot grid step, in pixels.
anglenumber30Grid rotation, in degrees.
speednumber1Speed. 0 stops the motion.
contrastnumber1.2Wave contrast. Higher gives harder patches.
childrenReactNode—Content on top of the effect.
classNamestring—Classes for the wrapper.

Dependencies

3 required packages

npm install ogl clsx tailwind-merge

Related components

View all