Skip to content
GetUrUI

Event cards

3 variantsNewPro
.md

Event RSVP, day agenda and meeting countdown cards — a sliding RSVP control you join with a spring, a live now marker and a rolling countdown that goes live at zero.

eventcalendarrsvpagendaschedulemeetingcountdowntimeline

Event RSVP

rsvp.tsx

Date tile, time and place, an attendee stack you spring into when you answer Going and a sliding three-way RSVP.

$npx shadcn@latest add @geturui-pro/event-cards-rsvp
PropTypeDefaultDescription
title / host / time / locationstring—Event details.
month / daystring—Date tile text.
attendeesstring[]—Initials of people going; the first four are shown.
goingCountnumber41Going total, excluding you.
defaultAnswer"going" | "maybe" | "declined" | nullnullInitial RSVP.
onAnswer / onAddToCalendarfunction—Handlers.

Day agenda

agenda.tsx

Timeline of the day with a now marker, a progress fill on the event in progress and rows that expand in place to join or see who is coming.

$npx shadcn@latest add @geturui-pro/event-cards-agenda
PropTypeDefaultDescription
dayLabel / dateLabelstring—Header text.
events{ id; title; start; end; where?; people?; online? }[]—Times in minutes from midnight.
nownumber640Current minute of the day; advances every minute.
onJoin(id: string) => void—Join button on an online event in progress.

Meeting countdown

meeting.tsx

Upcoming call with a rolling countdown, pre-join mic and camera toggles, a copy-link button and a join button that lights up at zero.

$npx shadcn@latest add @geturui-pro/event-cards-meeting
PropTypeDefaultDescription
title / timestring—Meeting details.
startsInnumber185Seconds until start; counts down after mount.
people{ initials; name; joined? }[]—Invitees; joined ones get a presence dot.
defaultMicOn / defaultCameraOnbooleanfalse / truePre-join device state.
linkstring—Copied by the link button.
onJoin(opts: { mic; camera }) => void—Join handler.

Install the whole set

Installs every event cards variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/event-cards

Accessibility

  • RSVP options are a radiogroup with arrow-key navigation; agenda rows are buttons with aria-expanded.
  • The countdown uses role=timer with a minute-level label so screen readers are not flooded every second.
  • Reduced motion disables the digit roll, avatar spring and progress sweep.

Related