# Frame with separated panels

> Frame with separated panels, built from the frame component.

A shadcn/ui block from the [@tealmac](https://ui.tealmac.com/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/tealmac/frame-separated-panels).

- Page, with a live preview: https://shadcn.exchange/r/tealmac/frame-separated-panels
- Screenshot: https://shadcn.exchange/shot/tealmac/frame-separated-panels/light.png
- Registry item: https://ui.tealmac.com/r/frame-separated-panels.json
- Listed: 2026-11-01, source last changed 2026-11-01

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/tealmac/frame-separated-panels.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@tealmac/frame`

## Files

### `registry/patterns/frame-separated-panels/frame-separated-panels.tsx`

```tsx
/**
 * Frame with separated panels - adapted for tealmac UI from the ReUI example "c-frame-2"
 * (https://github.com/keenthemes/reui), MIT License, Copyright (c) 2025
 * Keenthemes Inc. The full licence text is in THIRD_PARTY_NOTICES.md.
 * Changes: tealmac UI import paths and theme tokens, lucide icons, logical
 * (RTL-safe) spacing and alignment, reduced-motion support and sample
 * content.
 */
import {
  Frame,
  FrameDescription,
  FrameHeader,
  FramePanel,
  FrameTitle,
} from "@/components/ui/frame"

export function FrameSeparatedPanels() {
  return (
    <Frame className="w-full">
      <FrameHeader>
        <FrameTitle>Section header</FrameTitle>
        <FrameDescription>Description for the section</FrameDescription>
      </FrameHeader>
      <FramePanel>
        <h2 className="text-sm font-semibold">Separated panel</h2>
        <p className="text-muted-foreground text-sm">Section description</p>
      </FramePanel>
      <FramePanel>
        <h2 className="text-sm font-semibold">Separated panel</h2>
        <p className="text-muted-foreground text-sm">Section description</p>
      </FramePanel>
    </Frame>
  )
}
```
