Home

The Sheet component displays a panel that slides in from the edge of the screen. It’s useful for forms, menus, or additional content that should stay within the current context.

Installation

npm
npx phpxui add Sheet

Usage

use Lib\PHPXUI\{
  Sheet,
  SheetContent,
  SheetDescription,
  SheetHeader,
  SheetTitle,
  SheetTrigger, 
}

<Sheet>
  <SheetTrigger>Open</SheetTrigger>
  <SheetContent>
    <SheetHeader>
      <SheetTitle>Are you absolutely sure?</SheetTitle>
      <SheetDescription>
        This action cannot be undone. This will permanently delete your account
        and remove your data from our servers.
      </SheetDescription>
    </SheetHeader>
  </SheetContent>
</Sheet>