About
A bordered container with optional header, body and footer sections for grouping related content, forms or settings inside a card-like surface.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Panel to your project and fits it to your theme.
Code
How Panel is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Panel, PanelBody } from "@/components/ui/panel";
export default function PanelMutedDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<Panel tone="muted" feature className="w-full max-w-sm">
<PanelBody>
<div className="flex flex-col items-center gap-3 py-6 text-center">
<p
className="text-sm font-medium"
style={{ color: "var(--lk-font-color-base)" }}
>
No data yet
</p>
<p
className="text-sm"
style={{ color: "var(--lk-font-color-secondary)" }}
>
Items you add will show up here.
</p>
<button
className="rounded-md border px-3 py-1.5 text-sm"
style={{
color: "var(--lk-font-color-base)",
borderColor: "var(--lk-color-emphasis-300)",
}}
type="button"
>
Retry
</button>
</div>
</PanelBody>
</Panel>
</div>
);
}
















