Interactive testing environment for react-shared components
Current: Default
Product preview button with embedded previews for courses, digital downloads, meetings, and webinars
Customize the component properties and see the changes in real-time

Transform your skills with our comprehensive course bundle
Different product types with their preview components

Master web development from basics to advanced concepts

Professional templates for your next project

Get personalized guidance for your project
Choose Date
UTC
April 2026

Join our exclusive live training session
Currently, there are no upcoming events. Please check back later!
titlestring - Product title (default: "Button")
buttonTextstring - Call-to-action button text (default: "Button Text")
taglinestring - Subheading/description text (default: "Subheading text goes here")
productType"course" | "digital-download" | "meeting" | "webinar" - Product type that determines preview component
productobject - Product data for preview components (course modules, digital download assets, etc.)
userobject - User data (required for meeting/webinar types)
isDemoboolean - Demo mode for calendar/webinar previews (default: false)
layout"default" | "bleed-horizontal" | "bleed-vertical" | "padding-vertical" | "brim" | "ode" | "nova" | "crest" | "rung" | "glint" - Layout variant
onButtonClick(data?: { preSelectValue: boolean }) => void - Button click handler
onCalendarDateSelected(data: { pageId?: number; date: string }) => void - Calendar date selection handler
onWebinarSessionSelected(data: { pageId?: number; session: WebinarSession }) => void - Webinar session selection handler
The component automatically renders different preview components based on the productType prop:
The component includes two buttons: a primary CTA button and a "Learn More" text button. The primary button can pass a preSelectValue flag when calendar dates or webinar sessions are pre-selected.
For meeting and webinar types, users can interact with the calendar/session selector directly within the preview. Selecting a date or session triggers the respective callback and automatically sets the preSelectValue flag.
Use the isDemo prop for calendar and webinar previews to show sample data without making actual API calls.