Skip to content

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〜
updated 2019.09.25

Staff

原作:丸戸史明 · 監督:亀井幹太
  • level sets the title's heading level (3 by default) so it fits the page's outline.
  • toggleable adds a button named by the title that collapses the body (v-model:collapsed); #actions sits beside it.

Usage ​

ts
import { BlessPanel } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
titlestring—
toggleableboolean—
surface"surface" | "bg""bg"
level2 | 3 | 4 | 5 | 63heading level of the title, to fit the page's outline
collapsedbooleanfalse

Events

NamePayloadDescription
update:collapsed[value: boolean]

Slots

NameScopeDescription
title—
actions—
default—
footer—

Released under the MIT License. Character names and artwork belong to their owners.