felipemenezes098

Flexnative Tabs

Cards 10

About

Additional tab patterns from the Flexnative UI registry, companion to flexnative-tabs: an account/password settings form in a card, vertical icon-with-title triggers, and a compact icon-only view switcher. Same tabs primitive (no Radix dependency).

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

Code

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

Usage.tsx

'use client'

import { LayersIcon, PaletteIcon, RocketIcon } from 'lucide-react'

import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/flexnative-tabs-more'

export function Tabs10() {
  return (
    <Tabs defaultValue="build" className="w-full max-w-sm">
      <TabsList variant="line" className="mb-2.5 h-auto w-full gap-0 p-0">
        <TabsTrigger
          value="design"
          className="h-auto min-w-0 flex-1 flex-col gap-1.5 px-2 py-2.5"
        >
          <PaletteIcon className="size-4 shrink-0" />
          <span className="text-xs font-medium">Design</span>
        </TabsTrigger>
        <TabsTrigger
          value="build"
          className="h-auto min-w-0 flex-1 flex-col gap-1.5 px-2 py-2.5"
        >
          <LayersIcon className="size-4 shrink-0" />
          <span className="text-xs font-medium">Build</span>
        </TabsTrigger>
        <TabsTrigger
          value="ship"
          className="h-auto min-w-0 flex-1 flex-col gap-1.5 px-2 py-2.5"
        >
          <RocketIcon className="size-4 shrink-0" />
          <span className="text-xs font-medium">Ship</span>
        </TabsTrigger>
      </TabsList>

      <TabsContent value="design" className="w-full pt-4">
        <div className="w-full space-y-3">
          <div className="grid grid-cols-4 gap-2">
            <div className="bg-primary h-9 rounded-md" />
            <div className="bg-muted h-9 rounded-md" />
            <div className="bg-accent h-9 rounded-md" />
            <div className="bg-secondary h-9 rounded-md" />
          </div>
          <div className="space-y-2">
            <div className="bg-muted/70 h-2.5 w-full rounded-full" />
            <div className="bg-muted/50 h-2 w-4/5 rounded-full" />
            <div className="bg-muted/35 h-2 w-3/5 rounded-full" />
          </div>
        </div>
      </TabsContent>

      <TabsContent value="build" className="w-full pt-4">
        <div className="w-full space-y-2">
          <div className="bg-muted/60 h-14 w-full rounded-lg border" />
          <div className="bg-muted/40 h-10 w-[85%] rounded-lg border" />
          <div className="bg-muted/25 h-8 w-[65%] rounded-lg border" />
        </div>
      </TabsContent>

      <TabsContent value="ship" className="w-full pt-4">
        <div className="w-full space-y-2">
          <div className="bg-muted/50 flex h-24 w-full flex-col gap-2 rounded-lg border p-2">
            <div className="flex gap-1.5">
              <span className="bg-muted size-2 rounded-full" />
              <span className="bg-muted size-2 rounded-full" />
              <span className="bg-muted size-2 rounded-full" />
            </div>
            <div className="bg-background flex-1 rounded-md border" />
          </div>
          <div className="grid grid-cols-2 gap-2">
            <div className="bg-muted/40 h-9 rounded-md border" />
            <div className="bg-muted/40 h-9 rounded-md border" />
          </div>
        </div>
      </TabsContent>
    </Tabs>
  )
}

export default function Default() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-10">
      <Tabs10 />
    </div>
  )
}

Dependencies

More by felipemenezes098

View all
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    932
  • Editorial Collage Hero

    Editorial Collage Hero

    431
  • Split Hero With Image Cards

    Split Hero With Image Cards

    402
  • Editorial Image Hero

    Editorial Image Hero

    388
  • Scroll 01

    Scroll 01

    341
  • Real Estate Search Hero

    Real Estate Search Hero

    190
  • Editorial Hero

    Editorial Hero

    173
  • Hero with Dashboard Mockup

    Hero with Dashboard Mockup

    123

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    33
  • Course Design Cards

    Course Design Cards

    1.1K
  • Card

    Card

    70
  • Statistics Card 2

    Statistics Card 2

    264
  • Statistics Card 10

    Statistics Card 10

    263
  • Card

    Card

    17
  • Card Studio

    Card Studio

    9
  • The Item one

    The Item one

    3