reshaped

Reshaped Tabs

Navigation

About

Compound Tabs.List / Tabs.Item / Tabs.Panel component with matching ids, per-item icons and full composition control. Supports pills, pills-raised and borderless variants, row or column direction, three sizes, controlled and uncontrolled selection, equal-width items, flexible panel placement and native radio form submission via the name prop.

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

Code

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

Usage.tsx

import { Divider, Reshaped, View } from "reshaped/bundle";
import Tabs from "@/components/ui/reshaped-tabs";

export default function Demo() {
  return (
    <Reshaped theme="slate">
      <div style={{ maxWidth: 480, width: "100%", margin: "0 auto", padding: 24 }}>
        <>
          <View paddingInline={8}>
            <Tabs variant="borderless" defaultValue="1">
              <Tabs.List>
                <Tabs.Item value="1">Item 1</Tabs.Item>
                <Tabs.Item value="2">Long item 2</Tabs.Item>
                <Tabs.Item value="3">Very long item 3</Tabs.Item>
              </Tabs.List>
            </Tabs>
          </View>
          <Divider blank />
        </>
      </div>
    </Reshaped>
  );
}

Dependencies

More by reshaped

View all
  • Reshaped Toast

    Reshaped Toast

    13
  • Reshaped Calendar

    Reshaped Calendar

    11
  • Reshaped Checkbox

    Reshaped Checkbox

    10
  • Reshaped Progress indicator

    Reshaped Progress indicator

    9
  • Reshaped Context menu

    Reshaped Context menu

    9
  • Reshaped Autocomplete

    Reshaped Autocomplete

    9
  • Reshaped Slider

    Reshaped Slider

    8
  • Reshaped Pagination

    Reshaped Pagination

    8

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