Venkata Sai Kaparotu

rainbow sidebar

Navigation

About

A simple rainbow sidebar

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

Code

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

Usage.tsx

import { Component } from "@/components/ui/rainbow-sidebar";

export default function DemoOne() {
  return (
    <div className="flex w-full h-[600px] bg-gray-100 dark:bg-zinc-950 overflow-hidden">
        {/* Render the Sidebar */}
        <Component />
        
        {/* Render Dummy Content so you can see how it looks next to the sidebar */}
        <div className="flex-1 p-8 overflow-auto">
            <h1 className="text-2xl font-bold mb-4 dark:text-white">Dashboard Content</h1>
            <div className="grid grid-cols-1 md:grid-cols-2 gap-4">
                <div className="h-40 rounded-xl bg-white dark:bg-zinc-900 border dark:border-zinc-800 p-4 shadow-sm" />
                <div className="h-40 rounded-xl bg-white dark:bg-zinc-900 border dark:border-zinc-800 p-4 shadow-sm" />
                <div className="h-40 rounded-xl bg-white dark:bg-zinc-900 border dark:border-zinc-800 p-4 shadow-sm" />
            </div>
        </div>
    </div>
  );
}

Dependencies

More by Venkata Sai Kaparotu

View all
  • glowing chat input

    glowing chat input

  • Border Beam Button

    Border Beam Button

More in Navigation

View all
  • Sidebar

    Sidebar

    235
  • Navbar with Theme Toggle

    Navbar with Theme Toggle

    43
  • Sidebar

    Sidebar

    339
  • Tabs

    Tabs

    60
  • Numberless Pagination with Text

    Numberless Pagination with Text

    11
  • Oversized 404 Numeral

    Oversized 404 Numeral

    50
  • Footer

    Footer

    446
  • Pagination

    Pagination

    43