mockupsTailwind CSS PhonePhone mockup shows a mockup of an iPhone.Class NameTypeDescriptionmockup-phoneComponentContainer element.cameraModifierAdd iphone dynamic island.displayModifierContent container.Basic examples Default Basic example of phone.Use the mockup-phone component class to contain the phone mockup. The camera class introduces dynamic island UI elements. Meanwhile, the display class serves as a container for displaying items.Preview HTML Copy toggleRTL($refs.previewFrame), 100); }" class="size-9.5 border-neutral/10 rounded-btn text-base-content hover:bg-neutral/[0.03] flex items-center justify-center gap-2 border max-sm:hidden"> Hi.<div class="mockup-phone"> <div class="camera !z-0"></div> <div class="display flex justify-center"> <div class="size-full artboard artboard-demo phone-1">Hi.</div> </div> </div>Image This demonstrates how we use images as display.Preview HTML Copy toggleRTL($refs.previewFrame), 100); }" class="size-9.5 border-neutral/10 rounded-btn text-base-content hover:bg-neutral/[0.03] flex items-center justify-center gap-2 border max-sm:hidden"> <div class="mockup-phone"> <div class="camera !z-0"></div> <div class="display flex justify-center"> <div class="artboard artboard-demo phone-1"><img class="size-full object-cover" src="https://cdn.flyonui.com/fy-assets/components/iphone/image.png" alt="phone background" /></div> </div> </div> CodeWindow