scrollxui

BarsWave

Backgrounds 24

About

An animated background layer of vertical wave bars that pulse in mirrored symmetry, usable behind hero text or page sections.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds BarsWave to your project and fits it to your theme.

Code

How BarsWave is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { BarsWave } from "@/components/ui/barswave";

export default function Demo() {
  return (
    <div className="relative w-full h-screen bg-background flex items-center justify-center">
      <BarsWave
        barCount={14}
        minHeight={20}
        maxHeight={80}
        variant="filled"
        animationDuration={2}
        className="w-full h-full"
      >
        <h2 className="bg-clip-text text-transparent text-center bg-linear-to-b from-neutral-900 to-neutral-700 dark:from-neutral-600 dark:to-white text-2xl md:text-4xl lg:text-7xl font-sans py-2 md:py-10 relative z-20 font-bold tracking-tight">
          Bars Animation, <br /> Background.
        </h2>
      </BarsWave>
    </div>
  );
}

Dependencies

More by scrollxui

View all
  • Features With Panel

    Features With Panel

    506
  • Contact with Globe

    Contact with Globe

    471
  • Hero Section with Cards

    Hero Section with Cards

    237
  • FAQ Accordion

    FAQ Accordion

    207
  • Logo Cloud Marquee

    Logo Cloud Marquee

    188
  • Testimonials Vertical Marquee

    Testimonials Vertical Marquee

    119
  • Testimonials Marquee

    Testimonials Marquee

    117
  • Hero With Pixel Background

    Hero With Pixel Background

    116

More in Backgrounds

View all
  • Elegant Dark Pattern

    Elegant Dark Pattern

    944
  • Light theme Tailwind CSS Background Snippet

    Light theme Tailwind CSS Background Snippet

    259
  • Honey Ember Background

    Honey Ember Background

    100
  • Gradient Backgrounds

    Gradient Backgrounds

    33
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    623
  • Gradient Blur Bg

    Gradient Blur Bg

    23
  • Background snippets

    Background snippets

    117
  • Dark Gradient Background

    Dark Gradient Background

    164