Data display
Task row
A row that owes you an action: media, a two-line body with a due date, one primary and two outlined icon buttons.
import { EcoTaskRow, EcoTaskRows } from "vue-ecosphere"
Rows
Wrap the rows in EcoTaskRows: it owns the surface and the dividers. Three ranked choices per row.
Certificate renewalapi.internal expires in 6 days
Auto-renewal is off for this domain, so it needs a manual rotation before the expiry date.
Unassigned reports14 items with no owner
Items sitting unassigned for more than a week stop appearing in weekly summaries.
Use a row’s actions.
API
| Name | Type | Default | Description |
|---|---|---|---|
title / subtitle | string | — | The top line. |
description | string | — | Body sentence; the default slot overrides it. |
media | string | — | Avatar text (“01”, initials). The #media slot overrides it. |
due / dueLabel | string | — / "Due" | Renders “Due <b>Jul 24</b>”. The #meta slot overrides it. |
actionLabel | string | — | The one primary. Name the action, never “OK”. |
snooze / dismiss | boolean | true | Show the outlined icon buttons. |
snoozeLabel / dismissLabel | string | "Snooze" / "Dismiss" | Their titles; the aria-label adds the row title. |
@action / @snooze / @dismiss | () => void | — | Button clicks. The #actions slot replaces all three. |