Saurabh

Bounce Sidebar

Navigation

About

A vertical navigation sidebar whose active indicator dot bounces along a curved spring-loaded path when jumping between menu items.

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

Code

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

Usage.tsx

"use client";

import BounceSidebar from "@/components/ui/bounce-sidebar";
import { useState } from "react";

const destinations = [
  { id: "overview", label: "Overview" },
  { id: "components", label: "Components" },
  { id: "motion", label: "Motion" },
  { id: "templates", label: "Templates" },
  { id: "changelog", label: "Changelog" },
];

export default function BounceSidebarDemo() {
  const [active, setActive] = useState("components");

  return (
    <div className="flex min-h-[360px] w-full items-center justify-center">
      <BounceSidebar
        items={destinations}
        value={active}
        onValueChange={setActive}
        ariaLabel="beUI sections"
        className="w-52"
        listClassName="w-full"
        itemClassName="text-base"
      />
    </div>
  );
}

Dependencies

More by Saurabh

View all
  • BeUI Tilt Card

    BeUI Tilt Card

    373
  • BeUI Expandable Tabs

    BeUI Expandable Tabs

    347
  • BeUI File Upload

    BeUI File Upload

    293
  • BeUI Bouncy Accordion

    BeUI Bouncy Accordion

    204
  • BeUI Create Menu

    BeUI Create Menu

    199
  • BeUI Expanable Action Bar

    BeUI Expanable Action Bar

    190
  • Animated Sidebar

    Animated Sidebar

    183
  • Loader

    Loader

    180

More in Navigation

View all
  • Sidebar

    Sidebar

    258
  • Oversized 404 Numeral

    Oversized 404 Numeral

    54
  • Tabs

    Tabs

    62
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    44
  • Footer 2

    Footer 2

    206
  • Footer

    Footer

    80
  • Breadrcrumb

    Breadrcrumb

    7
  • NavBar

    NavBar

Explore more

Part of beUi — browse the full library on 21st.dev.