# Frame with dense layout

> Frame with dense layout, 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-dense-layout).

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

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/tealmac/frame-dense-layout.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-dense-layout/frame-dense-layout.tsx`

```tsx
/**
 * Frame with dense layout - adapted for tealmac UI from the ReUI example "c-frame-7"
 * (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 FrameDenseLayout() {
  return (
    <Frame dense className="w-full max-w-sm">
      <FrameHeader>
        <FrameTitle>Inventory Check</FrameTitle>
        <FrameDescription>Real-time stock monitoring</FrameDescription>
      </FrameHeader>
      <FramePanel>
        <h2 className="text-sm font-semibold">Warehouse A</h2>
        <p className="text-muted-foreground text-sm">
          Dense mode removes outer padding for a more compact appearance.
        </p>
      </FramePanel>
    </Frame>
  )
}
```
