import {
Panel,
PanelHeader,
PanelBody,
PanelFooter,
} from "@/components/ui/panel";
export default function PanelDemo() {
return (
<div className="flex w-full items-center justify-center p-10">
<Panel className="w-full max-w-sm">
<PanelHeader>
<h3
className="text-base font-semibold"
style={{ color: "var(--lk-font-color-base)" }}
>
Profile settings
</h3>
</PanelHeader>
<PanelBody>
<p
className="text-sm"
style={{ color: "var(--lk-font-color-secondary)" }}
>
Update your name and preferences. Changes are saved automatically.
</p>
</PanelBody>
<PanelFooter>
<div className="flex items-center justify-end gap-2">
<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"
>
Cancel
</button>
<button
className="rounded-md px-3 py-1.5 text-sm font-medium text-white"
style={{ background: "var(--lk-color-primary)" }}
type="button"
>
Save
</button>
</div>
</PanelFooter>
</Panel>
</div>
);
}