MockupPhoneLandscape
A box area that looks like a mobile phone in landscape orientation.
A box area that looks like a mobile phone in landscape orientation.
<div class="mockup-phone-landscape" role="img" aria-label="App screen mockup"><div style="padding:1rem;background:#f3f4f6;border:2px solid #d1d5db;border-radius:12px;text-align:center;min-height:80px;">MockupPhoneLandscape Preview</div></div><MockupPhoneLandscape>
<img src="screenshot-landscape.png" alt="App screen" />
</MockupPhoneLandscape>
// In your Svelte component:
import MockupPhoneLandscape from "lily-design-system-svelte-headless/components/MockupPhoneLandscape/MockupPhoneLandscape.svelte";
<MockupPhoneLandscape>
<!-- content -->
</MockupPhoneLandscape>
<MockupPhoneLandscape>
<img src="screenshot-landscape.png" alt="App screen" />
</MockupPhoneLandscape>
className: string (optional) — extra CSS classes appended to mockup-phone-landscapechildren: slot — content rendered inside the simulated phone screenrole="img" on the inner image if neededMockupPhonePortrait to show both orientations of the same app or screen.MockupPhonePortrait.MockupTabletLandscape or MockupTabletPortrait.MockupBrowser or MockupWindow.This headless component renders semantic HTML. The consumer provides all visual styling. No CSS, animations, or layout are included — the consumer composes those.
The component renders with .mockup-phone-landscape as the root class. No default styles are included.
mockup-browser — a box area that looks like a web browsermockup-laptop — a box area that looks like a laptop computermockup-phone-portrait — a box area that looks like a mobile phonemockup-shell — a box area that looks like a terminal shellmockup-tablet-landscape — a box area that looks like a tablet computer in landscape modemockup-tablet-portrait — a box area that looks like a tablet computer in portrait mode.mockup-phone-landscape in css-style-sheet-template.css<div> element with class mockup-phone-landscapechildren slot for the screen content rendered inside the device frameMockupPhonePortrait for portrait orientationrestProps onto the <div> for consumer customizationGenerated from this component's canonical metadata — the machine-checked source the implementations are held to.
role="img" on the inner image if neededclassName: string (optional) — extra CSS classes appended to mockup-phone-landscapechildren: slot — content rendered inside the simulated phone screen