About
A responsive Glacier glass dashboard with mock business metrics, revenue/spend charts, budget tracking and a daily heatmap. Includes color controls and CSV export. Icons by Lucide.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glacier Dashboard to your project and fits it to your theme.
Code
How Glacier Dashboard is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { useState } from "react";
import { GlacierDashboard } from "@/components/ui/glacier-dashboard";
// 21st.dev derives its native controls from literal settings + default-export props.
const settings = {
accentColor: "#426b9a",
backgroundColor: "#e8f0f8",
brandName: "Forma",
};
export default function Demo(props: Partial<typeof settings>) {
const values = { ...settings, ...props };
return <InteractiveDemo key={JSON.stringify(values)} {...values} />;
}
function InteractiveDemo(values: typeof settings) {
const [accentColor, setAccentColor] = useState(values.accentColor);
const [backgroundColor, setBackgroundColor] = useState(
values.backgroundColor,
);
return (
<div style={{ width: "100%", minWidth: 0 }}>
<div
style={{
display: "flex",
flexWrap: "wrap",
alignItems: "center",
gap: 16,
padding: "12px 20px",
background: "#f5f9fd",
color: "#173455",
font: "12px ui-sans-serif, sans-serif",
borderBottom: "1px solid #d6e3ef",
}}
>
<strong>Customize colours</strong>
<label style={{ display: "flex", alignItems: "center", gap: 8 }}>
Accent
<input
type="color"
value={accentColor}
onInput={(event) => setAccentColor(event.currentTarget.value)}
style={{ width: 32, height: 28, cursor: "pointer" }}
/>
</label>
<label style={{ display: "flex", alignItems: "center", gap: 8 }}>
Background
<input
type="color"
value={backgroundColor}
onInput={(event) => setBackgroundColor(event.currentTarget.value)}
style={{ width: 32, height: 28, cursor: "pointer" }}
/>
</label>
<button
type="button"
onClick={() => {
setAccentColor(settings.accentColor);
setBackgroundColor(settings.backgroundColor);
}}
style={{
border: "1px solid #d6e3ef",
borderRadius: 8,
background: "white",
color: "inherit",
padding: "8px 12px",
cursor: "pointer",
}}
>
Reset Glacier
</button>
</div>
<GlacierDashboard
{...values}
accentColor={accentColor}
backgroundColor={backgroundColor}
/>
</div>
);
}
















