Skip to content
LoidoltTheme 0.11.1
Svelte 5

Component

Panel

A framed region for tool content — heavier than a card, quieter than a dialog.

import { Panel } from '@loidolt/theme-svelte';

Example

Fabrication status

Generating preview

Props

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

Panel props
PropTypeDefaultNotes
children required Snippet—
class string—
footer Snippet—
header Snippet—
headingLevel HeadingLevel2
ref bindableHTMLElement | nullnull
title string—

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