Data display / Task row

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.

Due Jul 24

Unassigned reports14 items with no owner

Items sitting unassigned for more than a week stop appearing in weekly summaries.

Due Jul 22

Use a row’s actions.

API

NameTypeDefaultDescription
title / subtitlestring—The top line.
descriptionstring—Body sentence; the default slot overrides it.
mediastring—Avatar text (“01”, initials). The #media slot overrides it.
due / dueLabelstring— / "Due"Renders “Due <b>Jul 24</b>”. The #meta slot overrides it.
actionLabelstring—The one primary. Name the action, never “OK”.
snooze / dismissbooleantrueShow the outlined icon buttons.
snoozeLabel / dismissLabelstring"Snooze" / "Dismiss"Their titles; the aria-label adds the row title.
@action / @snooze / @dismiss() => void—Button clicks. The #actions slot replaces all three.