sheet

Sheet

Slides a panel in from a screen edge over the page, with a header, a scrolling body and a footer, for carts, filters and menus.

Parts

PartFileDoes
SheetSheet.vueGroups all parts of the sheet, a panel that slides in from an edge.
SheetBodySheetBody.vueHolds the sheet's main content and scrolls it, keeping the header and footer in view.
SheetCloseSheetClose.vueCloses the sheet.
SheetContentSheetContent.vueHolds what the sheet shows while open.
SheetDescriptionSheetDescription.vueExplains the purpose of the sheet below its title.
SheetFooterSheetFooter.vueHolds the actions at the bottom of the sheet.
SheetHeaderSheetHeader.vueGroups the title and description at the top of the sheet.
SheetTitleSheetTitle.vueNames the sheet.
SheetTriggerSheetTrigger.vueOpens the sheet.

Anatomy

<Sheet>
  <SheetTrigger />
  <SheetContent>
    <SheetHeader>
      <SheetTitle />
      <SheetDescription />
    </SheetHeader>
    <SheetBody />
    <SheetFooter>
      <SheetClose />
    </SheetFooter>
  </SheetContent>
</Sheet>

Styling

All of Sheet’s styles live in sheet.json. New to styling in Frontic UI? How styling works →

Install

Installs with it
button
focus
npm packages
@lucide/vue
@vueuse/core
class-variance-authority
reka-ui

Built from

API reference

Sheet.vue

Groups all parts of the sheet, a panel that slides in from an edge.

Props 4

PropTypeDefault
openboolean—
defaultOpenbooleanfalse
modalbooleantrue
unmountOnHidebooleantrue

Events 1

EventPayload
update:openvalue: boolean

Slots 1

SlotSlot props
default{ open: boolean; close: () => void; }

SheetBody.vue

SheetClose.vue

SheetContent.vue

SheetDescription.vue

SheetFooter.vue

SheetHeader.vue

SheetTitle.vue

SheetTrigger.vue
Sheet