Velocity X Components

Cards & Expandables

Event Date Card

A listing row for a meetup, webinar or conference session — a prominent day/month date block, title, location and time, with a one-click add-to-calendar download that generates a real .ics file by hand. No calendar SDK, works even with JS disabled.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add event-date-card

Built for astro.

Full docs for Event Date Card →

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

astro v1.0.2
Event Date Card
NOV 12 Thu

Velocity Component Workshop

The Precinct, Level 3, Brisbane

Add to calendar

Props

NameTypeRequiredDefaultDescription
titlestringYes
startISOstringYes
endISOstringNo
timeLabelstringYes
locationstringYes
descriptionstringNotitle
hrefstringNo
calendarLabelstringNo'Add to calendar'
classstringNo''

File this creates

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

text
components/velocity/event-date-card/EventDateCard.astro

Using the Event Date Card component

Install it with velocityx add event-date-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.