ikascom

Layout

Component

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>
  );
}

Dependencies

More by ikascom

View all
  • Animated Number

    Animated Number

    16
  • Action Bar

    Action Bar

    3
  • Collapse

    Collapse

  • Launchpad Setup Checklist

    Launchpad Setup Checklist