Page
Page component for rendering generic pages with dynamic components.
Props
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
page | Page | Yes | - | Page data from Contentstack |
path | string | Yes | - | Current page path |
Usage
import Page from '@/components/pages/Page';
<Page page={pageData} path="/about" />Features
- Dynamic components: Renders components from Contentstack
- JSON-LD: Structured data for SEO
- ComponentsRenderer: Uses ComponentsRenderer to render page components
- Additional items: Renders notices from
additional_itemsabove the components, and FAQ/related items below them - CSLP support: Contentstack Live Preview editing
Component Types
Page can render any component type supported by ComponentsRenderer:
- Hero
- List
- Media
Notes
- Returns
nullif neither components nor additional items are provided - Notices use
NoticesSection; FAQ and related items useAdditionalItemsSection(same as Blog, Guide, Kickstart, LiveStream) - Uses JsonLd component for SEO
- Components are rendered in order from Contentstack
- Supports CSLP wrapper attributes