About
A responsive column grid (single, main+aside, half, third) plus a numbered SettingsGroup section used to lay out settings and detail screens.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Layout to your project and fits it to your theme.
Code
How Layout is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Layout, LayoutColumn } from "@/components/ui/layout";
export default function LayoutDemo() {
return (
<Layout columns="half" className="w-full">
<LayoutColumn>
<div className="rounded-lg border bg-card p-4 text-card-foreground">
<h3 className="text-sm font-semibold">Left column</h3>
<p className="text-sm text-muted-foreground">Primary content area.</p>
</div>
</LayoutColumn>
<LayoutColumn>
<div className="rounded-lg border bg-card p-4 text-card-foreground">
<h3 className="text-sm font-semibold">Right column</h3>
<p className="text-sm text-muted-foreground">
Secondary content area.
</p>
</div>
</LayoutColumn>
</Layout>
);
}




