Velocity X Components

Cards & Expandables

Inbox Message Card

A full inbox or notification-centre card — sender avatar, subject, clamped preview, timestamp, unread state and optional mark-read/archive actions — for feeds that need a proper card, not a dense list row.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add inbox-message-card

Built for astro.

Full docs for Inbox Message Card →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.2
Inbox Message Card
MC

Marcus Chen — unread

9:41 AM

Re: Contract renewal for Q1

Thanks for sending that over — I've flagged two clauses in section 4 for legal to look at before we sign off.

Props

NameTypeRequiredDefaultDescription
senderNamestringYes
senderAvatarstringNo
subjectstringYes
previewstringYes
timestampstringYes
unreadbooleanNofalse
markReadLabelstringNo
archiveLabelstringNo
hrefstringNo
classstringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/inbox-message-card/InboxMessageCard.astro

Using the Inbox Message Card component

Install it with velocityx add inbox-message-card. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Cards & Expandables.