Code And Chill

Hovira — Glassmorphism Smart Home Dashboard

Dashboards 86

About

Glassmorphic smart-home dashboard: tinted glass over a cross-fading room photo, a draggable AC dial, device toggles, an energy chart and one-tap scenes, in light and dark. Full Hovira app: codeandchill.store/templates/hovira?utm_source=21st

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

Code

How Hovira — Glassmorphism Smart Home Dashboard is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { useEffect, useState } from "react";
import HoviraDashboard from "@/components/ui/glass-smart-home-dashboard";

const settings = {
  homeName: "Haddad Home",
  glassBlur: 24,
  glassTint: 18,
  accent: "#4f7cff",
};

function usePageDark() {
  const [dark, setDark] = useState(true); // opens in dark, then follows the page theme when it changes
  useEffect(() => {
    const html = document.documentElement;
    const sync = () => setDark(html.classList.contains("dark"));
    const mo = new MutationObserver(sync);
    mo.observe(html, { attributes: true, attributeFilter: ["class"] });
    return () => mo.disconnect();
  }, []);
  return dark;
}

export default function Demo(props: Partial<typeof settings> = {}) {
  const s = { ...settings, ...props };
  const dark = usePageDark();
  return (
    <div className="min-h-screen w-full">
      <HoviraDashboard homeName={s.homeName} glassBlur={s.glassBlur} glassTint={s.glassTint} accent={s.accent} theme={dark ? "dark" : "light"} />
    </div>
  );
}

Dependencies

More by Code And Chill

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    690
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    345
  • Vitra — Glass Pricing Section

    Vitra — Glass Pricing Section

    67
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    57
  • Money River — Sankey Money Flow Chart

    Money River — Sankey Money Flow Chart

    40
  • Kestrel — Marketing Analytics Dashboard

    Kestrel — Marketing Analytics Dashboard

    36
  • Meniscus — Liquid Bottom Navigation Bar

    Meniscus — Liquid Bottom Navigation Bar

    30
  • Tide — Animated Download Button with Progress Ring

    Tide — Animated Download Button with Progress Ring

    26

More in Dashboards

View all
  • Analytics Dashboard

    Analytics Dashboard

    59
  • Creator Dashboard

    Creator Dashboard

    208
  • Insights Dashboard

    Insights Dashboard

    35
  • serf dashboard

    serf dashboard

    137
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Business/Sales Dashboard

    Business/Sales Dashboard

    1.5K
  • Admin Dashboard Cards

    Admin Dashboard Cards

    39
  • Approval Queue

    Approval Queue

    19