Tabs

A sunken tray with one raised tile that slides, with a bounce, to the active tab.

View as Markdown
Rice and vegetable plots: plant, wait, harvest.

Installation

npx shadcn@latest add @cozy/tabs

Usage

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

Examples

With icons

On phones the icon stacks above the label and tabs share the width.

Fields: 4 buildings available.