s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Svelte · Cookbook

CookbookSectionPage

No summary has been written for CookbookSectionPage. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { CookbookSectionPage } from '@happyvertical/smrt-svelte/cookbook';
Import path
@happyvertical/smrt-svelte/cookbook
Props
5
Props described
5 of 5
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
presentation'plain' | 'card'NoHow the overview's tiles are drawn outside edit mode: `'card'` (default) uses the current theme's framed styles. Explicit `'plain'` lists entries as unframed rows or tiles. Editing always keeps its frame.
headingimport('svelte').Snippet<[{ section: CookbookSectionHeadingInfo; }]>NoReplaces the section heading with host content.
sectionIdstringNoThe layout id (`section:sales`, `custom:shop`).
slugstringNoThe route slug (`section-sales`); used when `sectionId` is absent.
childrenimport('svelte').SnippetNoExtra content under the overview.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation