moekoelueker

Liquid Glass Tabs

Navigation

About

An accessible tabbed content switcher with a sliding glass-pill selection indicator that glides between tabs.

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

Code

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

Usage.tsx

import Tabs from "@/components/ui/tabs";

export default function TabsDemo() {
  return (
    <div
      data-ogui-design="liquid"
      className="flex min-h-[20rem] w-full items-center justify-center p-10"
      style={{ background: "#101214", color: "#f7f6f0" }}
    >
      <Tabs
        label="Material inspector"
        defaultValue="optics"
        items={[
          {
            value: "optics",
            label: "Optics",
            content: "Blur 24px · Tint 12% · Edge 34%",
          },
          {
            value: "motion",
            label: "Motion",
            content: "Spring 180ms · Damping 0.82",
          },
          {
            value: "access",
            label: "Access",
            content: "Contrast 7.1:1 · Motion follows OS",
          },
        ]}
      />
    </div>
  );
}

More by moekoelueker

View all
  • Liquid Glass Button

    Liquid Glass Button

More in Navigation

View all
  • Footer with Big Wordmark

    Footer with Big Wordmark

    100
  • Liquid Glass Expandable Sidebar

    Liquid Glass Expandable Sidebar

    295
  • Sidebar

    Sidebar

    422
  • Pagination with Ellipsis

    Pagination with Ellipsis

    25
  • Pagination

    Pagination

    3
  • Tabs

    Tabs

    33
  • Menu

    Menu

    23
  • Breadrcrumb

    Breadrcrumb

    6