yaddayadda.io
Templates

Composite Templates

Full-page templates that combine multiple sections into a single response.

Composite templates combine multiple section templates into a single response. Each section follows its individual template schema.

landing_page

A complete landing page combining hero, features, stats, testimonials, how-it-works, pricing, FAQ, CTA banner, and footer.

curl "https://api.yaddayadda.io/v1/generate?template=landing_page"

Response Schema

{
  "hero": { /* hero_section schema */ },
  "features": { /* features_grid schema */ },
  "stats": { /* stats_row schema */ },
  "testimonials": { /* testimonials schema */ },
  "how_it_works": { /* how_it_works schema */ },
  "pricing": { /* pricing_table schema */ },
  "faq": { /* faq_section schema */ },
  "cta": { /* cta_banner schema */ },
  "footer": { /* footer schema */ }
}

See individual template pages for the full schema of each section.


dashboard_page

A dashboard layout with sidebar navigation, header, metric widgets, and notification messages.

curl "https://api.yaddayadda.io/v1/generate?template=dashboard_page"

Response Schema

{
  "sidebar": { /* sidebar_nav schema */ },
  "header": {
    "title": "string (2-4 words)",
    "subtitle": "string (6-12 words)"
  },
  "widgets": { /* dashboard_widgets schema */ },
  "notifications": { /* notifications schema */ }
}

blog_index

A blog listing page with title, subtitle, and an array of post preview cards.

curl "https://api.yaddayadda.io/v1/generate?template=blog_index"

Response Schema

{
  "title": "string (2-4 words)",
  "subtitle": "string (8-15 words)",
  "posts": [
    {
      "title": "string (6-12 words)",
      "excerpt": "string (2-3 sentences)",
      "author": "string (full name)",
      "date": "string (e.g. 'March 14, 2026')",
      "tags": ["string (1 word each)"]
    }
  ]
}

ecommerce_page

A product category page with header, filters, product cards, and pagination.

curl "https://api.yaddayadda.io/v1/generate?template=ecommerce_page"

Response Schema

{
  "category": {
    "title": "string (2-4 words)",
    "description": "string (1-2 sentences)"
  },
  "filters": ["string (1-3 words each)"],
  "products": { /* product_card schema */ },
  "pagination": {
    "current_page": "number",
    "total_pages": "number"
  }
}

On this page