Skip to content
daisyBlazor

MockupPhone

A daisyUI phone frame with a camera notch around any screen content. It fills its container's width up to 462px, so size it with a width utility.
Mockup.mockup-phone
Cover · <MockupPhone>

api-gateway

Deploying…

Examples

Basic

A splash screen inside a phone sized with w-56.

Acme Cloud

Your dashboard in your pocket

website/Examples/Mockup/MockupPhoneBasicExample.razor Source

App screens

Phones of different widths keep the same proportions.

Notifications

Invoice INV-4821 has been paid.
Mei Chen invited you to Contoso.

Monthly revenue

48 200 €

MRR, up 12% this month

website/Examples/Mockup/MockupPhoneScreenExample.razor Source

API

<MockupPhone>

DaisyBlazor

Parameters

  • Class string
    = null

    Additional CSS classes merged onto the mockup-phone element.

  • Style string
    = null

    Inline styles applied to the mockup-phone element.

Content

  • ChildContent RenderFragment

    Content rendered inside the phone display area.

Something went wrong while running the docs. Reload