Phone
MockupPhone draws a phone frame — camera notch, display and a phone-sized
artboard — around your content. Use it to present a mobile screen or
screenshot. It is also available as Mockup.Phone.
Import
import { MockupPhone } from '@sigx/daisyui';
// or
import { Mockup } from '@sigx/daisyui';
Basic Usage
Loading preview...
With an App Screen
Loading preview...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
class | string | - | Additional CSS classes on the frame (e.g. border-primary to tint the bezel) |
Slots
| Slot | Description |
|---|---|
default | Screen content, rendered inside a phone-sized artboard |
