UiForge
Prompt

Solstice Home — Énergie et maison solaire

DashboardGlassmorphismAppleFuturisticMicro-interactionsFadeHover effectReactTailwindFramer MotionD3.js
Prêt à l'emploi

Copie le prompt dans le presse-papier, sans quitter la page.

❯ Prompt Claude
CONTEXT & GOAL: Solstice Home is a real-time home energy dashboard for households with rooftop solar and a battery, tracking production, consumption, storage, and grid export. The primary user is a homeowner checking whether to run the dishwasher now or tonight, and how much the sun earned them today. The signature idea is the living Energy Flow diagram: a central schematic with four nodes — Sun, Battery, Home, Grid — connected by curved conduits along which glowing particles travel; conduit thickness and particle speed are proportional to live wattage, so 3.2 kW of solar pouring into the battery is literally visible as a fast, thick stream of light.

ART DIRECTION: Premium domestic glassmorphism: frosted-glass panels floating over a dawn gradient that shifts with the actual time of day (amber-gold morning, clear blue noon, indigo dusk). References: Apple Home's friendly clarity, Tesla's energy app, high-end thermostat interfaces. What separates it from generic smart-home templates is the physical honesty of the Energy Flow — no abstract donut, energy behaves like a fluid you can watch.

COLOR SYSTEM: Background gradient (noon state) from #DFEFF7 top to #F6E9D4 bottom; dawn state #F4D9B8 to #DCE7F2; dusk state #2E3A5C to #6B5B8A (dark-glass mode). Glass panel fill #FFFFFF66 with backdrop-blur 20px and 1px border #FFFFFF99. Text primary #1E2A38, text secondary #4E6072, text tertiary #7E8DA0 (light states); in dusk mode text flips to #F2F5FA / #B9C4D6. Solar amber #F2A93B, battery green #46B98A, home consumption blue #3E7BD6, grid violet #8B6FD0 — used for nodes, conduits, particles, and chart series consistently. Semantic alert #D96A4A for inverter offline.

TYPOGRAPHY: Outfit for display figures and headings, Inter for body and labels. Hero wattage figure 42px/46px weight 600 Outfit tabular-nums. H1 24px/30px weight 600. Card title 14px/19px weight 600. Body 14px/20px weight 400 Inter. Unit suffixes (kW, kWh, €) 60% size of their figure, weight 500, text secondary. Caption 12px/16px weight 400.

LAYOUT & GRID: No sidebar. Slim topbar 56px: logo, local weather chip (18°C, sunny), day/month/year segmented control, settings icon. Content max-width 1280px, 24px padding, bento grid of 12 columns with 20px gaps. Center stage: Energy Flow panel spanning 6 columns and 2 rows (about 420px tall). Around it: 4 KPI glass cards (3 columns each) on top, battery gauge (3 columns) and rooms grid (3 columns, 2 rows) flanking, 24h area chart (6 columns) below the flow, tariff card (3 columns), monthly stacked bars full 12 columns at the bottom. Responsive: ≥1152px as described; 768-1151px Energy Flow goes full width first with KPIs in 2x2 under it; <768px single column with the Energy Flow simplified to a vertical Sun→Battery→Home→Grid stack, particles preserved.

SECTIONS & COMPONENTS: KPI cards: Production Today 18.4 kWh, Self-Consumption 76%, Battery 82% (charging), Earnings Today €4.12. Energy Flow: live values on each conduit — Sun→Home 1.8 kW, Sun→Battery 1.4 kW, Battery→Home 0 kW (idle), Home→Grid export 0.6 kW; each node is a frosted circle with icon and live figure; tapping a node opens its detail card. 24h area chart: production curve (amber) over consumption curve (blue), night hours shaded, current-time cursor line; tooltip shows both values at hovered hour. Battery gauge: circular 82% with 'about 9h of autonomy at current draw' subtitle and a charge/discharge arrow. Rooms grid: 6 zone chips — Heating 1.2 kW, Kitchen 0.8 kW, Office 0.3 kW, Laundry 0 kW (off), EV Charger 0 kW (scheduled 23:00), Other 0.2 kW — each with a mini 3h sparkline. Tariff card: 'Off-peak 23:00–07:00 at €0.16/kWh, peak €0.27, export price €0.10' with a suggestion line 'Delay EV charge to 23:00 to save €1.80'. Monthly history: stacked bars per day — self-consumed (green), exported (violet), imported (blue) — with a month total footer 412 kWh produced, 71% self-consumed. States: at night the Sun node dims with 'Production resumes ~06:40'; battery full shows a celebratory but subtle 'Battery full — exporting surplus'; inverter connection loss overlays the flow with a frosted alert card 'Inverter unreachable for 4 min — Retry'.

MOTION: Flow particles travel along SVG paths at speeds mapped from wattage (0.5 kW = one particle every 1.6s at slow drift; 3 kW = every 300ms, visibly faster), linear easing, with a 200ms fade at path ends; conduit stroke-width interpolates over 800ms ease-in-out when power changes. Bento cards float in on mount: opacity 0→1, translateY 12px→0, scale 0.98→1, 400ms, staggered 70ms, cubic-bezier(0.22, 1, 0.36, 1). The battery ring fills with 700ms ease-out on load. Background gradient cross-fades between time-of-day states over 3s when crossing thresholds. Reduced motion: particles are replaced by static dashed conduits whose dash density encodes power, card entrances become 120ms fades, gradient switches instantly.

TECH & QUALITY: Build with React 19, Tailwind CSS v4 (glass tokens with backdrop-blur utilities), D3.js for the Energy Flow path geometry and particle animation loop (requestAnimationFrame), Framer Motion for card choreography, Recharts for area and stacked bar charts. Structure: src/features/flow/EnergyFlow.tsx, src/features/flow/useParticles.ts, src/components/GlassCard.tsx, src/features/history/MonthlyBars.tsx. Accessibility: every live flow value is also rendered as plain text on the conduit label (particles are decorative, aria-hidden); light-state text #1E2A38 on glass over the gradient maintains ≥4.5:1 verified against the lightest background stop; the day/month/year control is a proper radiogroup; charts include sr-only summaries ('Produced 18.4 kWh today, consumed 14.2 kWh'); focus-visible rings render at 2px in home-blue on all interactive nodes and chips.
Objectif

Solstice Home visualise en temps réel les flux d'énergie d'une maison équipée de panneaux solaires et d'une batterie : production, consommation, stockage et revente au réseau. Cible : propriétaires équipés en solaire qui veulent optimiser leur autoconsommation. Idée signature : le diagramme de flux vivant (Energy Flow) — un schéma central animé où des particules circulent entre soleil, batterie, maison et réseau, l'épaisseur et la vitesse des flux traduisant les watts en mouvement.

Style

Glassmorphism lumineux, dégradé aube ambre-bleu, panneaux verre dépoli, ambiance domotique premium.

Composants
Layout bento sans sidebar, topbar fine avec météo et sélecteur jour/mois/annéeDiagramme de flux d'énergie central (Energy Flow) avec particules animéesCartes KPI : production du jour, autoconsommation, état de charge batterie, gain du jourGraphique en aires production vs consommation sur 24hJauge circulaire de batterie avec estimation d'autonomieGrille des pièces avec consommation par zone (chauffage, cuisine, bureau...)Carte tarif réseau : heures pleines/creuses et prix de reventeHistorique mensuel en barres empilées (autoconsommé, injecté, soutiré)États : production nulle la nuit, batterie pleine, perte de connexion onduleur
Animations
Particules circulant le long des flux d'énergie, vitesse proportionnelle aux wattsRemplissage doux de la jauge de batterieTransition aube/crépuscule du dégradé de fond selon l'heureApparition en fondu flottant des cartes bento
Stack technique
React 19Tailwind CSS v4Framer MotionD3.jsRecharts
Scores
9/10
Qualité
8/10
Originalité
Notes de revue

Le diagramme de flux à particules est physiquement cohérent (vitesse proportionnelle aux watts) plutôt qu'un simple donut abstrait, bon point différenciant pour un dashboard domotique. Le glassmorphism reste toutefois un style assez répandu pour ce type de produit premium.

À voir aussi

Prompts liés

Dashboard

Nocturne SOC — Centre d'opérations cybersécurité

Dark cyber bleu abyssal et cyan électrique, rouge réservé aux menaces critiques, esthétique radar militaire raffinée.

Q 9/10O 9/10Dark modeFuturisticLinear
Dashboard

Sentry Ridge — DevOps incidents et SLO

Dark ops minuit, ambre et cyan sur bleu nuit, esthétique salle de contrôle sobre.

Q 9/10O 9/10Dark modeLinearFuturistic
Dashboard

Analytics de performance sportive – Pitchside

Régie sportive sombre, vert terrain profond, accent citron vert façon graphisme de diffusion TV.

Q 8/10O 7/10Dark modeFuturisticMicro-interactions