generate_page_layout
Generates a complete page layout by analyzing your description, selecting the best template, and filling each section with recommended components. Returns an ordered layout with install commands and dependency summary.
Instructions
Generate a complete page layout with component recommendations.
Analyses the description to detect the page type, selects the best template, and fills each section with recommended components. Returns an ordered layout with install commands and dependency summary.
Supported page types (auto-detected if not specified):
landing: Conversion-focused landing page
saas: SaaS product marketing page
dashboard: Data-rich admin dashboard
portfolio: Creative portfolio or showcase
ecommerce: E-commerce product store
blog: Blog or content publication
documentation: Documentation or knowledge base
Example descriptions:
"premium AI SaaS product page with dark theme"
"fintech dashboard with analytics and charts"
"designer portfolio with 3D effects"
"online clothing store with product grid"
"developer blog with code examples"
Args: page_description: Free-text description of the page to build page_type: Explicit page type (auto-detected if omitted) include_pro: Include pro components (default True) components_per_section: Components per section (default 2, max 10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_description | Yes | ||
| page_type | No | ||
| include_pro | No | ||
| components_per_section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |