Section Schema Reference

Sections are the building blocks of page type pages. Each section is a JSON object with a type field and type-specific props.

Base Structure

Every section follows this base structure:

{ "type": "section-type", "...": "section-specific props" }

Common Props

Many sections share these optional props:

NameTypeDescription
labelstringSmall label text above the heading
headingstringMain heading text
descriptionstringSupporting description text
classNamestringCustom CSS class name

Available Sections

Landing Page Sections

TypeDescriptionRequired Props
heroMain hero with headline and CTAheading
problemProblem cardsproblems[]
solutionSolution bento gridsolutions[]
featuresFeature showcasefeatures[]
how-it-worksStep-by-step processsteps[]
faqFAQ accordionfaqs[]
ctaCall-to-actionheading
contentMarkdown content blockcontent
testimonial-highlightTestimonial carouseltestimonials[]
testimonials-verticalVertical testimonialstestimonials[]
pricingPricing plansplans[]

Directory Sections

TypeDescriptionRequired Props
directory-heroDirectory herotitle
items-gridItems grid
articles-gridArticles grid

Example Page Config

{ "config": { "theme": "default", "sections": [ { "type": "hero", "heading": "Welcome", "ctaText": "Get Started", "ctaHref": "/signup" }, { "type": "features", "heading": "Features", "features": [...] }, { "type": "cta", "heading": "Ready?", "ctaText": "Sign Up", "ctaHref": "/signup" } ] } }
© 2026 PageGun. All rights reserved.