Skip to content

Reference

Current template components and blocks.

Use this page as the canary inventory for what ships in the managed core today and what clients can extend safely.

Core primitives

Reusable building blocks under the managed surface.

These are the files client projects consume indirectly through blocks, layouts and simple composition.

ButtonLink

src/components/core/ButtonLink.astro

Shared link button primitive with primary and secondary variants.

Inputs: href, style

FaqAccordion

src/components/core/FaqAccordion.svelte

Bits UI accordion wrapper used by the FAQ block.

Inputs: items

BlockRenderer

src/components/core/BlockRenderer.astro

Managed registry that maps typed Sveltia blocks to Astro components.

Inputs: blocks

Content blocks

Structured sections available in Sveltia today.

These blocks are registered in the CMS config and rendered through the managed block registry.

01

Hero

Large introduction block with eyebrow, heading, summary, alignment and up to two links.

02

Feature Grid

Section intro plus repeatable feature cards for service lines, differentiators or process steps.

03

FAQ

Question-and-answer section rendered with a Bits UI accordion and hydrated only when visible.

04

CTA

High-contrast closing panel with a single action link for contact, booking or conversion prompts.

Preview examples

Live output for the four shipped CMS blocks.

These examples render the actual production components, so this page doubles as a visual regression check for the template canary.

Registry contract

The current block union is hero | features | faq | cta. New shared blocks should update the CMS config, the block types and the renderer together.

Interactive primitive

What is interactive versus static?

Use the template as the component canary.

Add new managed blocks here first, verify them on this page, and only then roll them out to client sites.

Edit the template

Extension point

Custom Astro or Svelte components

src/components/custom/

Client-specific primitives and composites that should survive managed core upgrades untouched.

Extension point

Custom CMS blocks

src/components/blocks/custom/

Client-only block renderers that can be registered in the CMS config when the shared core is not enough.

Extension point

Theme overrides

src/styles/theme.css

Semantic color, type, spacing and surface variables owned by the client brand instead of the managed core.