reshaped

Reshaped Divider

Component

About

Separates content horizontally or vertically with the vertical flag. Integrates with the View utility's divided property, supports a neutral color to match form field borders, text or custom content next to the divider lines with configurable position, and a blank mode that removes the 1px line.

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

Code

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

Usage.tsx

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

export default function Demo() {
  return (
    <Reshaped theme="slate">
      <div style={{ maxWidth: 400, width: "100%", margin: "0 auto", padding: 24 }}>
        <>
          <Tabs variant="borderless" defaultValue="0">
            <Tabs.List>
              <Tabs.Item value="0">List view</Tabs.Item>
              <Tabs.Item value="1">Map view</Tabs.Item>
            </Tabs.List>
          </Tabs>
          <Divider blank />
        </>
      </div>
    </Reshaped>
  );
}

Dependencies

More by reshaped

View all
  • Reshaped Toast

    Reshaped Toast

    9
  • Reshaped Calendar

    Reshaped Calendar

    9
  • Reshaped Progress indicator

    Reshaped Progress indicator

    7
  • Reshaped Context menu

    Reshaped Context menu

    7
  • Reshaped Checkbox

    Reshaped Checkbox

    7
  • Reshaped Autocomplete

    Reshaped Autocomplete

    7
  • Reshaped Pagination

    Reshaped Pagination

    6
  • Reshaped Carousel

    Reshaped Carousel

    6