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#

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

Basic Usage#

TSX
Loading preview...

With an App Screen#

TSX
Loading preview...

Props#

PropTypeDefaultDescription
classstring-Additional CSS classes on the frame (e.g. border-primary to tint the bezel)

Slots#

SlotDescription
defaultScreen content, rendered inside a phone-sized artboard