Chun Keat Lim

Solstice Dashboard

Dashboards 1

About

A warm bento dashboard with peach-to-violet gradients, mock business metrics, bar and donut charts, a daily heatmap, progress rings and an interactive Kanban board. Includes adjustable colours. Icons by Lucide.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Solstice Dashboard to your project and fits it to your theme.

Code

How Solstice 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 { SolsticeDashboard } from "@/components/ui/solstice-dashboard";

const settings = {
  accentColor: "#6860ff",
  warmColor: "#ffbd79",
  backgroundColor: "#e9e8e7",
  brandName: "Solstice",
};

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 [accent, setAccent] = useState(values.accentColor);
  const [warm, setWarm] = useState(values.warmColor);
  const [canvas, setCanvas] = useState(values.backgroundColor);
  const [phone, setPhone] = useState(false);
  const buttonStyle = {
    border: "1px solid #dedbe4",
    borderRadius: 20,
    padding: "8px 12px",
    background: "white",
    color: "#514957",
    font: "inherit",
    cursor: "pointer",
  };
  return (
    <div style={{ width: "100%", minWidth: 0, background: canvas }}>
      <div
        style={{
          display: "flex",
          flexWrap: "wrap",
          alignItems: "center",
          justifyContent: "space-between",
          gap: 12,
          padding: "12px 22px",
          background: "#faf9fb",
          borderBottom: "1px solid #e7e4eb",
          color: "#655f6c",
          font: "11px ui-sans-serif, sans-serif",
        }}
      >
        <strong style={{ fontWeight: 600 }}>
          Solstice / component preview
        </strong>
        <div
          style={{
            display: "flex",
            flexWrap: "wrap",
            gap: 12,
            alignItems: "center",
          }}
        >
          {[
            { name: "Violet", value: accent, set: setAccent },
            { name: "Peach", value: warm, set: setWarm },
            { name: "Canvas", value: canvas, set: setCanvas },
          ].map((control) => (
            <label
              key={control.name}
              style={{ display: "flex", alignItems: "center", gap: 7 }}
            >
              {control.name}
              <input
                type="color"
                aria-label={`${control.name} color`}
                value={control.value}
                onInput={(event) => control.set(event.currentTarget.value)}
                style={{
                  width: 25,
                  height: 25,
                  border: 0,
                  borderRadius: 6,
                  padding: 0,
                  background: "transparent",
                  cursor: "pointer",
                }}
              />
            </label>
          ))}
          <button
            style={buttonStyle}
            onClick={() => {
              setAccent(settings.accentColor);
              setWarm(settings.warmColor);
              setCanvas(settings.backgroundColor);
            }}
          >
            Reset
          </button>
          <button
            style={buttonStyle}
            aria-pressed={phone}
            onClick={() => setPhone(!phone)}
          >
            {phone ? "Desktop preview" : "Phone preview"}
          </button>
        </div>
      </div>
      <div
        style={{
          width: "100%",
          maxWidth: phone ? 390 : undefined,
          margin: "0 auto",
        }}
      >
        <SolsticeDashboard
          brandName={values.brandName}
          accentColor={accent}
          warmColor={warm}
          backgroundColor={canvas}
        />
      </div>
    </div>
  );
}

Dependencies

More by Chun Keat Lim

View all
  • Translucent Cassette Player

    Translucent Cassette Player

    97
  • Retro AI Chat

    Retro AI Chat

    47
  • Turntable

    Turntable

    24
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • DJ Controller

    DJ Controller

    11
  • Ink Grid Hero

    Ink Grid Hero

    10
  • Frosted Digital Clock

    Frosted Digital Clock

    9
  • Portable CD Player

    Portable CD Player

    9

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    736
  • Analytics Dashboard

    Analytics Dashboard

    80
  • Creator Dashboard

    Creator Dashboard

    215
  • Insights Dashboard

    Insights Dashboard

    43
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    419
  • serf dashboard

    serf dashboard

    144
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    64