SwipeUI

Event card

Event details with a prominent date block and independent RSVP controls.

npx @swipeui/cli add event-card
Variant
Preset
Material
Scheme
Feel
Interactive web demo. Native materials, gestures and system presentation differ on device.

When to use it

  • Upcoming events, classes, meetups or appointments with a clear date, title and place.
  • An events list where people can RSVP or buy tickets right from the card.
  • Calendar or booking apps that show who else is going.
  • Reminders for a single upcoming event on a home screen.

When not to use it

  • A full calendar or date selection. Use Calendar or Date picker.
  • A ticket people show at the door. Ticket card is designed to be scanned.
  • A schedule of many sessions in one day. Timeline reads better.
  • Past activity or history. Use List row or Timeline.

Installation

Installs with a Pro licence

Everything on this page is public except the source. Founder pre-sale opens around 5 January 2027.

Usage

app/(tabs)/index.tsx
import { EventCard } from '@/components/swipeui/card/event-card';

<EventCard title="Morning walk" date="Saturday, 9 am" location="Valley trailhead" />;

API reference

EventCardProps

PropTypeDefaultDescription
variant?CardVariant'elevated'

Surface treatment.

disabled?booleanfalse

Prevent primary activation; footer controls manage their own disabled state.

haptics?booleantrue

Primary press feedback.

motion?MotionOverridethe app feel

Shared press character.

accessibilityHint?string—

Describes the result of the primary action.

className?string—

Classes merged over the surface.

style?StyleProp<ViewStyle>—

Native surface layout escape hatch.

testID?string—

Root identifier; primary target appends -press.

titlestring—

Event title.

datestring—

Caller-formatted date (no implicit timezone conversion).

locationstring—

Venue or meeting location.

attendees?ReactNode—

Attendee summary or avatars.

actions?ReactNode—

Independent RSVP/ticket actions.

onPress?(() => void)—

Opens event details.

Composition and behavior

  • A prominent date block sits above the title.
  • location follows as a muted line, then the optional attendees slot, for example Avatar group.
  • actions is a separate footer row for RSVP or ticket buttons.
  • onPress opens details; your app owns RSVP state and navigation.

Behavior and gestures

  • Tapping the card opens the event details with the standard press scale and haptic tap.
  • RSVP, ticket or calendar buttons in actions work on their own and never open the details.
  • Without onPress, only the action buttons are interactive.

Accessibility

  • A tappable card reads as one button with title, date and location, for example "Design meetup, Thu 14 Nov, Studio 3".
  • The date block is real text, so it's read in full rather than as an icon.
  • RSVP and ticket buttons are separate focus stops with their own labels.
  • Pass the date already formatted for the user's language and time zone; nothing is converted silently.

Motion

  • Uses the press motion role, so it follows your app's feel. Pass motion to tune this one instance.
  • Uses the shared press scale from your app's feel.
  • Reduce Motion removes the scale; taps still work.

Performance

  • No timers: it never counts down or re-renders on its own.
  • Attendees is a slot, so you control how many avatars render.

Notes for AI

  • Format date in the user's locale and time zone before passing it.
  • Put RSVP and ticket buttons in actions, not in attendees or the body.

Compatibility

Runs onSupported
Expo SDK 57Yes
Expo SDK 58Yes
React Native CLI (with Expo modules)Yes
Expo GoYes
iOSYes
AndroidYes

This table describes API support and static bundle checks. Native runtime, device accessibility and bare Uniwind compatibility remain pending.

Related items