registry/patterns/frame-dense-layout/frame-dense-layout.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>
)
}