registry/patterns/frame-separated-panels/frame-separated-panels.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>
)
}
