Skip to content
Type something to search...
Kivo Theme Documentation

Sections

Files: src/content/sections/english/ (and french/), page content files · Skill level: Beginner to edit, light code to add or move

A section is one full-width block of a page: a hero, a pricing table, an FAQ. Each section is two files that share a name:

src/layouts/components/sections/PlansSection.astro ← how it looks (component)
src/content/sections/english/plans-section.md ← what it says (content)
src/content/sections/french/plans-section.md

How Kivo Works explains the idea in full. This page is the practical reference.

Change A Section Everywhere

Edit its file in src/content/sections/english/ (and french/). The comments in each file list every option and its allowed values.

Section files have no schema, so npm run astro-check doesn’t catch a wrong value in them, such as a misspelled layout. Copy values from the comments, then check the page in the browser.

Hide A Section

  • Everywhere: set enable: false at the top of its section file.

  • On one page: add its block to that page’s file with enable: false:

    questionsSection:
    enable: false
  • On one page, for good: delete its line in the page’s route file in src/pages/[...lang]/.

A page block can also turn a section back on for one page when the section file has enable: false.

Change A Section On One Page

Add a named block to the page’s content file, with only the keys you want to change. The block name is in the table below. Remember the merge rules: objects merge key by key, lists replace the whole list, and "" clears a value.

Copy the block name exactly. A block with a wrong name, for example teamSection: instead of teamGridSection:, is ignored without an error. npm run astro-check checks the values inside a correctly named block, except in the page files of src/content/contact/, faq/, and pricing/, which have no schema.

src/content/security/english/-index.md
questionsSection:
title: "How we keep your data safe"
options:
layout: "two-column"

One Section, Several Content Files

The feature grid and the docs categories sections can read different content files, so the same design shows different lists:

SectionContent files
FeatureGridSectionfeature-grid-section.md (homepage, pricing), security-section.md (homepage, security, features overview), benefits-section.md (careers), feature-bento-section.md (a ready-made bento grid, used by the /elements/ gallery and ready to place on a page)
DocsCategoriesSectiondocs-categories-section.md and docs-help-section.md (both on /docs/)

The route picks the file with entry, for example <FeatureGridSection entry="security-section" />.

Add A Section To A Page

This is a small code edit in the page’s route file:

  1. Import the component at the top, between the --- lines:

    import QuestionsSection from "@/components/sections/QuestionsSection.astro";
  2. Place it where you want it, inside <Base>:

    <QuestionsSection />
  3. To give it page-specific content, read its block from the page file and pass it in:

    <QuestionsSection content={entry?.data?.questionsSection} />

Building a brand-new section is a developer task: follow the “Add a new section” skill in SKILLS.md, or ask your AI assistant to.

Section Catalog

Every section, its content file in src/content/sections/<language>/, the block name a page uses to override it, and where it appears. Layout values are in Section Layouts.

Marketing And Homepage

Section (component)Content filePage blockUsed on
Hero (HeroSaas)hero-saas.mdheroSaasThe four homepages
Logos (Clients)clients.mdclientsSectionHomepages, customers, solution pages
Steps (StepsSection)steps-section.mdstepsSectionHomepage, AI homepage, features overview, feature and compare pages
Stack (StackSection)stack-section.mdstackSectionHomepage
Platform (PlatformSection)platform-section.mdplatformSectionHomepage, features overview
Metrics (MetricsSection)metrics-section.mdmetricsSectionHomepage, analytics homepage, careers, testimonials, customer stories
Testimonials (CustomerQuotesSection)customer-quotes-section.mdcustomerQuotesSectionHomepages, contact, customers, solutions, testimonials, feature and compare pages
Code tabs (CodeTabsSection)code-tabs-section.mdcodeTabsSectionHomepage, API homepage, docs, features overview, feature and solution pages
Feature grid (FeatureGridSection)see abovefeatureGridSectionHomepages, pricing, security, careers, features, solutions, compare
Regions (RegionsSection)regions-section.mdregionsSectionHomepage
Templates (TemplatesSection)templates-section.mdtemplatesSectionHomepage, solution pages
Pricing (PlansSection)plans-section.mdplansSectionHomepages, pricing
Plan comparison (PlanComparisonSection)plan-comparison-section.mdplanComparisonSectionPricing, compare pages
FAQ (QuestionsSection)questions-section.mdquestionsSectionHomepages, FAQ, pricing, security, solutions, compare
Changelog preview (ChangelogSection)changelog-section.mdchangelogSectionHomepage
Newsletter (NewsletterSection)newsletter-section.mdnewsletterSectionBlog pages, status
Call to action (CallToAction)call-to-action.mdctaSectionEvery page above the footer, except 404, /elements/, and the auth screens

Product

Section (component)Content filePage blockUsed on
Feature index (FeatureIndexSection)feature-index-section.mdfeatureIndexSection/services/, /solutions/
Feature hero (FeatureHeroSection)feature-hero-section.mdfeatureHeroSectionFeature and solution pages
Related features (RelatedFeaturesSection)related-features-section.mdrelatedFeaturesSectionFeature and solution pages
Integrations directory (IntegrationsDirectorySection)integrations-directory-section.mdintegrationsDirectorySection/integrations/
Build an integration (IntegrationsBuildSection)integrations-build-section.mdintegrationsBuildSection/integrations/
Related integrations (RelatedIntegrationsSection)related-integrations-section.mdrelatedIntegrationsSectionIntegration pages
Compare list (CompareListSection)compare-list-section.mdcompareListSection/compare/

Customers And Proof

Section (component)Content filePage blockUsed on
Featured story (FeaturedStorySection)featured-story-section.mdfeaturedStorySection/customers/
Customer stories (CustomerStoriesSection)customer-stories-section.mdcustomerStoriesSection/customers/
Next stories (NextStorySection)next-story-section.mdnextStorySectionCustomer story pages
Quote wall (QuoteWallSection)quote-wall-section.mdquoteWallSection/testimonials/

Company

Section (component)Content filePage blockUsed on
About hero (AboutHeroSection)about-hero-section.mdaboutHeroSection/about/
Story (StorySection)story-section.mdstorySection/about/
Values (ValuesSection)values-section.mdvaluesSection/about/
Backers (BackersSection)backers-section.mdbackersSection/about/
Careers band (CareersBandSection)careers-band-section.mdcareersBandSection/about/, /team/
Open roles (OpenRolesSection)open-roles-section.mdopenRolesSection/careers/
Team grid (TeamGridSection)team-grid-section.mdteamGridSection/team/

Resources

Section (component)Content filePage blockUsed on
Docs hero (DocsHeroSection)docs-hero-section.mddocsHeroSection/docs/
Docs categories (DocsCategoriesSection)see abovedocsCategoriesSection, docsHelpSection/docs/
Quickstarts (QuickstartSection)quickstart-section.mdquickstartSection/docs/
Blog list (BlogListSection)blog-list-section.mdblogListSectionBlog list, category, and tag pages
Related posts (RelatedPostsSection)related-posts-section.mdrelatedPostsSectionBlog posts
Changelog list (ChangelogListSection)changelog-list-section.mdchangelogListSection/changelog/ and tag pages

Trust, Status, And Community

Section (component)Content filePage blockUsed on
Compliance (ComplianceSection)compliance-section.mdcomplianceSection/security/
Disclosure (DisclosureSection)disclosure-section.mddisclosureSection/security/
Status (StatusSection)status-section.mdstatusSection/status/
Incidents (IncidentsSection)incidents-section.mdincidentsSection/status/
Channels (CommunityChannelsSection)community-channels-section.mdcommunityChannelsSection/community/
Open source (OpenSourceSection)open-source-section.mdopenSourceSection/community/
Events (CommunityEventsSection)community-events-section.mdcommunityEventsSection/community/
Contributors (ContributorsSection)contributors-section.mdcontributorsSection/community/

Contact And System

Section (component)Content filePage blockUsed on
Contact (ContactSection)contact-section.mdcontactSection/contact/
Contact options (ContactOptionsSection)contact-options-section.mdcontactOptionsSection/contact/
Not found (NotFoundSection)not-found-section.mdnotFoundSection404 pages

Two more files in src/content/sections/ belong to site-wide widgets: announcement-bar.md (Header) and cookie-consent.md (Cookies & Analytics).