ghaerdi

Neon Tabs

Navigation

About

A tabbed navigation control with a frosted-glass tab list and a neon glow on the active tab, built on Radix UI tabs.

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

Code

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

Usage.tsx

"use client";

import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";

export default function TabsDemo() {
  return (
    <div className="flex min-h-40 items-center justify-center gap-4 p-6">
      <div className="flex flex-wrap items-center justify-center gap-4">
        <Tabs defaultValue="overview" className="w-80">
          <TabsList>
            <TabsTrigger value="overview">overview</TabsTrigger>
            <TabsTrigger value="logs">logs</TabsTrigger>
            <TabsTrigger value="metrics">metrics</TabsTrigger>
          </TabsList>
          <TabsContent
            value="overview"
            className="font-mono text-sm text-muted-foreground"
          >
            12 nodes online · 3 draining
          </TabsContent>
          <TabsContent
            value="logs"
            className="font-mono text-sm text-muted-foreground"
          >
            [12:04:01] node-07 reconnected
          </TabsContent>
          <TabsContent
            value="metrics"
            className="font-mono text-sm text-muted-foreground"
          >
            latency 42ms · uptime 99.98%
          </TabsContent>
        </Tabs>
      </div>
    </div>
  );
}

Dependencies

More by ghaerdi

View all
  • Toast Notification

    Toast Notification

    3
  • Chart

    Chart

    1
  • Accordion

    Accordion

  • Calendar

    Calendar

  • Neon Glass Select

    Neon Glass Select

  • Skeleton

    Skeleton

  • Radio Group

    Radio Group

  • Neon Status Badge

    Neon Status Badge

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    67
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    179
  • Sidebar

    Sidebar

    406
  • Button Breadcrumb

    Button Breadcrumb

    33
  • Menu

    Menu

    26
  • Breadcrumb

    Breadcrumb

    7
  • Pagination with Ellipsis

    Pagination with Ellipsis

    25
  • Pagination

    Pagination

    112