Panel
Titled box with actions, toggleable
A titled box of related content inside a page — a settings group, a side summary. It is a section named by its title. For the page's own sections, use Section; for items in a set, Card.
Basic
On air
TOKYO MX 木曜 24:00〜 · BS11 金曜 23:30〜
Staff
原作:丸戸史明 · 監督:亀井幹太
levelsets the title's heading level (3 by default) so it fits the page's outline.toggleableadds a button named by the title that collapses the body (v-model:collapsed);#actionssits beside it.
Usage
ts
import { BlessPanel } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
title | string | — | |
toggleable | boolean | — | |
surface | "surface" | "bg" | "bg" | |
level | 2 | 3 | 4 | 5 | 6 | 3 | heading level of the title, to fit the page's outline |
collapsed | boolean | false |
Events
| Name | Payload | Description |
|---|---|---|
update:collapsed | [value: boolean] |
Slots
| Name | Scope | Description |
|---|---|---|
title | — | |
actions | — | |
default | — | |
footer | — |