Layout
Hero
The dashboard moment: gradient wash with noise, a count, on-fill CTAs and a glass follow-ups panel.
import { EcoHero, EcoHeroPanelRow } from "vue-ecosphere"
Hero
One gradient wash per screen, and never behind data. The key words of the line are set in white; the rest stays at 70%.
Saturday, 8 August
14requests
are waiting on an owner
Ordered by how long they have been open. Four have been waiting more than a week.
6
Reminders due
API
| Name | Type | Default | Description |
|---|---|---|---|
eyebrow | string | — | On-fill eyebrow, usually the date. |
count / unit | number | string / string | — | The figure and its unit (hero__n, hero__unit). |
line | string | — | The line under the count, before the highlighted part. |
highlight | string | — | The words set in white (hi). |
lineEnd | string | — | Text after the highlighted part. Or write the whole line in the #line slot. |
sub | string | — | One or two sentences under the line. |
as | "h1" | "h2" | "p" | "h1" | Element for the line. |
panelCount / panelLabel | number | string / string | — | Head of the glass side panel. |
#cta | slot | — | On-fill buttons: onfill and ghostfill only. |
#panel / #panel-foot | slot | — | Panel rows (EcoHeroPanelRow) and a footer action. |
EcoHeroPanelRow | name, hint?, initials?, href? | — | One follow-up row (prow); emits click. Initials derive from the name. |