React Shared Components

Interactive testing environment for react-shared components

Theme Playground

Current: Default

SitePreviewButton

Product preview button with embedded previews for courses, digital downloads, meetings, and webinars

Interactive Playground

Customize the component properties and see the changes in real-time

block image

Premium Course Bundle

$79.99$99.99
20%OFF
4.6
5 items left

Transform your skills with our comprehensive course bundle

Introduction to Web Development
Getting Started
HTML Basics
+ 3 More

Product Type Examples

Different product types with their preview components

Course with Module Preview

block image

Complete Web Development Course

$99.99$149.99
33%OFF
4.6

Master web development from basics to advanced concepts

Introduction to Web Development
Getting Started
HTML Basics
+ 3 More

Digital Download with Asset List

block image

Premium Design Templates

$29.99$49.99
40%OFF
4.6

Professional templates for your next project

3 Files Included

Meeting with Calendar

block image

1-on-1 Consultation

$199.99

Get personalized guidance for your project

Choose Date

UTC

April 2026

Webinar with Session Times

block image

Live Masterclass

$79.99

Join our exclusive live training session

Currently, there are no upcoming events. Please check back later!

API Reference

Props

title

string - Product title (default: "Button")

buttonText

string - Call-to-action button text (default: "Button Text")

tagline

string - Subheading/description text (default: "Subheading text goes here")

productType

"course" | "digital-download" | "meeting" | "webinar" - Product type that determines preview component

product

object - Product data for preview components (course modules, digital download assets, etc.)

user

object - User data (required for meeting/webinar types)

isDemo

boolean - 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

Usage Notes

Product Type Previews

The component automatically renders different preview components based on the productType prop:

  • course: Shows CoursePreview with module/lesson structure
  • digital-download: Shows DigitalDownloadPreview with asset list
  • meeting: Shows Calendar for booking appointments
  • webinar: Shows WebinarCalendar for selecting session times

Dual CTA Buttons

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.

Interactive Previews

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.

Demo Mode

Use the isDemo prop for calendar and webinar previews to show sample data without making actual API calls.