Skip to content
LoidoltTheme 0.11.1
Svelte 5

Component

DocsHub

An index of documentation: sections, each a grid of page cards.

import { DocsHub } from '@loidolt/theme-docs';

Example

Props

Generated from the component source, so it cannot drift from the implementation.

DocsHub props
PropTypeDefaultNotes
sections required DocsSection[]—Groups of pages, each with a heading and a grid of cards.
class string—
headingLevel HeadingLevel2Level of the section headings; the cards take the next one.
ref bindableHTMLDivElement | nullnull

Plus the attributes of HTMLAttributes<HTMLDivElement>, forwarded to the root element.