BoxpressdProvider.
Available Components
| Component | Description |
|---|---|
BoxpressdEventCard | Display a single event. |
BoxpressdEventListItem | Compact list view for events. |
BoxpressdEventList | Display multiple events. |
BoxpressdEventCalendar | Calendar-based event view. |
EventDetailsModal | Detailed event modal with actions. |
BoxpressdEventCard
Display an individual event.Example
Common Props
| Prop | Type | Description |
|---|---|---|
event | BoxpressdEvent | Event data object. |
className | string | Additional CSS classes. |
showImage | boolean | Display event image. |
showDescription | boolean | Display event description. |
BoxpressdEventListItem
A compact event layout suitable for sidebars, activity sections, and mobile layouts.Example
BoxpressdEventList
Displays a collection of events. The component automatically fetches data using the active business context.Example
Props
| Prop | Type | Description |
|---|---|---|
status | "upcoming" | "past" | "all" | Event filter. |
limit | number | Maximum number of events to display. |
layout | "grid" | "list" | Display layout. |
featuredOnly | boolean | Show featured events only. |
className | string | Additional CSS classes. |
Grid Layout
List Layout
BoxpressdEventCalendar
Displays events within a calendar interface. This component is ideal for event-heavy businesses that host frequent gatherings.Example
Props
| Prop | Type | Description |
|---|---|---|
initialMonth | Date | Initial month displayed. |
showPastEvents | boolean | Display past events. |
className | string | Additional CSS classes. |
EventDetailsModal
Displays detailed event information and attendee actions.Features
- Event details
- Event image
- Date and time information
- Location details
- Directions links
- Add-to-calendar actions
- Ticket links
Example
Add to Calendar
Event components support calendar integrations.Google Calendar
ICS Downloads
Generated ICS files allow visitors to add events to:- Apple Calendar
- Outlook
- Google Calendar
- Yahoo Calendar
- Other calendar applications
Event Object
Featured Events
Highlight important events using thefeaturedOnly prop.
- Grand openings
- Brand launches
- Cigar release events
- Special promotions
- VIP gatherings
Server-Side Rendering
Event components work well with server-side rendering. For advanced use cases, fetch events directly:Styling
All event components inherit Boxpressd theme variables.Common Use Cases
Homepage Events Section
Dedicated Events Page
Featured Event Banner
Sidebar Widget
Best Practices
- Display upcoming events on your homepage.
- Use featured events for major promotions.
- Provide add-to-calendar actions whenever possible.
- Include event images for better engagement.
- Limit homepage event sections to 3–6 items.
- Use the calendar view for event-heavy businesses.
Next Steps
Continue to:- Reviews
- Maps
- Check-ins
- Sessions
- Data Fetching → Events