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>
);
}
















