Velocity X Components

Content & Dashboard

Notification List Item

Single notification row with avatar/icon, message, timestamp and an unread indicator dot.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add notification-list-item

Built for astro.

Full docs for Notification List Item →

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

astro v1.0.0

Props

NameTypeRequiredDefaultDescription
titlestringNo'New comment on your post'
descriptionstringNo'Elijah replied to "Spin-up hardening checklist".'
datestring | DateNonew Date()
avatarSrcstringNo
unreadbooleanNotrue
hrefstringNo'#'
localestringNo'en-AU'
dateFormatter(date: Date) => stringNo
classNamestringNo''

File this creates

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

text
components/velocity/notification-list-item/NotificationListItem.astro

Using the Notification List Item component

Install it with velocityx add notification-list-item. 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 Content & Dashboard.