Window#

MockupWindow wraps content in a desktop-window frame with the three title-bar dots. The content area is centred with padding on a base-200 background. It is also available as Mockup.Window.

Import#

TSX
import { MockupWindow } from '@sigx/daisyui';
// or
import { Mockup } from '@sigx/daisyui';

Basic Usage#

TSX
Loading preview...

Framing a Component#

TSX
Loading preview...

Props#

PropTypeDefaultDescription
classstring-Additional CSS classes on the frame

Slots#

SlotDescription
defaultWindow content