GitHub

Event Card

Calendar event cards with category color bar, time display, location, attendees avatar stack, and RSVP status. Supports compact, all-day, glass, past, and cancelled variants.

Basic Event Card

Preview

Team Standup

Daily sync with the engineering team to review progress and blockers.

Meeting
9:00 AM - 9:30 AM Conference Room A

Category Colors

Preview

Sprint Planning

Work
10:00 AM - 11:00 AM

Gym Session

Personal
6:30 PM - 7:30 PM

Client Review

Meeting
2:00 PM - 3:00 PM

Project Deadline

Deadline
11:59 PM

Submit Report

Reminder
5:00 PM

With Attendees

Preview

Quarterly Review

Review Q4 results and set Q1 goals with the leadership team.

2:00 PM - 4:00 PM Board Room
AM
CR
LG
+5 8 attendees

Compact Variant

Preview

Sprint Planning

10:00 AM

Gym Session

6:30 PM

Client Review

2:00 PM

Project Deadline

11:59 PM

Submit Report

5:00 PM

All-Day Variant

Preview

Company Retreat

Annual team-building retreat at the mountain lodge.

All Day
Mountain Lodge Resort

Office Closed - Holiday

All Day

RSVP Status

Preview

Design Review

3:00 PM - 4:00 PM

Team Lunch

12:30 PM - 1:30 PM

Birthday Party

7:00 PM - 10:00 PM

All-Hands Meeting

4:00 PM - 5:00 PM

States: Past & Cancelled

Preview

Morning Standup

Yesterday's team standup meeting.

Work
9:00 AM - 9:30 AM Zoom Call

Project Kickoff

This event has been cancelled by the organizer.

Meeting
1:00 PM - 2:00 PM Conference Room B

Glass Variant

Preview

Design Workshop

Collaborative design session with the product team.

Meeting
10:00 AM - 12:00 PM Creative Studio
AM
CR
LG
+2 5 attendees

Grid & List Layouts

Preview

Grid Layout

Sprint Planning

Work
10:00 AM - 11:00 AM Room 201

Client Review

Meeting
2:00 PM - 3:00 PM Zoom

Dentist Appointment

Personal
4:30 PM - 5:00 PM

List Layout

Code Review

Work
9:00 AM - 10:00 AM Slack Huddle

Invoice Deadline

Deadline
5:00 PM

Submit Expense Report

Reminder
End of Day

Classes Reference

Class Description
.event-cardBase card container with left color bar and hover shadow
.event-card-headerTop section with title, description, and actions
.event-card-header-contentFlex container for title and description (min-width: 0 for truncation)
.event-card-header-actionsRight-aligned action area in header (category tag, buttons)
.event-card-titleEvent title text (truncated, semibold)
.event-card-descriptionEvent description (2-line clamp)
.event-card-contentMain content area for meta, attendees, etc.
.event-card-metaFlex container for meta items (time, location)
.event-card-meta-itemIndividual meta entry with icon and text
.event-card-timeTime display with colored icon
.event-card-time-rangeContainer for start/end time with separator
.event-card-time-separatorDash or arrow between start and end times
.event-card-durationDuration badge pill (e.g. "30 min", "2 hrs")
.event-card-locationLocation text with map pin icon
.event-card-categoryCategory tag pill with colored dot
.event-card-attendeesContainer for avatar stack and label
.event-card-attendees-stackOverlapping avatar row (flex-row-reverse)
.event-card-attendees-more"+N" overflow circle for additional attendees
.event-card-attendees-labelText label showing total attendee count
.event-card-indicatorsContainer for small indicator icons
.event-card-indicatorBase indicator circle (20px)
.event-card-indicator-reminderWarning-colored reminder indicator
.event-card-indicator-recurringInfo-colored recurring event indicator
.event-card-footerBottom section with border-top, for duration and RSVP
.event-card-footer-startLeft-aligned footer content
.event-card-footer-endRight-aligned footer content
.event-card-rsvpBase RSVP status pill
.event-card-rsvp-goingGreen "going" RSVP status
.event-card-rsvp-maybeYellow "maybe" RSVP status
.event-card-rsvp-declinedRed "declined" RSVP status
.event-card-rsvp-pendingGray "pending" RSVP status
Category Colors
.event-card-workBlue/info color bar
.event-card-personalGreen/success color bar
.event-card-meetingPurple color bar
.event-card-deadlineRed/error color bar
.event-card-reminderYellow/warning color bar
.event-card-holidayOrange color bar
.event-card-travelCyan color bar
.event-card-healthPink color bar
.event-card-socialIndigo color bar
.event-card-otherMuted gray color bar
Variants
.event-card-compactSingle-row inline variant (32px min-height, hides content/footer)
.event-card-all-dayAll-day event with tinted background, no color bar, no time
.event-card-all-day-badge"All Day" pill (only visible inside .event-card-all-day)
.event-card-smSmall size variant with reduced padding and font sizes
.event-card-lgLarge size variant with increased padding and thicker color bar
.event-card-outlineBorder variant with no shadow (border highlights on hover)
.event-card.glassGlass morphism variant with backdrop blur
States
.event-card-clickableAdds pointer cursor and scale-down on active press
.event-card-pastReduced opacity (60%) for past events
.event-card-cancelledDimmed (50%) with strikethrough title
Layout Containers
.event-card-gridResponsive auto-fill grid (min 300px columns)
.event-card-listVertical list with gap between cards