Design›Mockup

design

Mockup

Wrap content in realistic device frames for phones, tablets, browsers, and laptops

Install

  1. Add the package: npm install @refrakt-md/design
  2. Add it to the plugins array in refrakt.config.json: "plugins": ["@refrakt-md/design"]

About the plugin and its runes

Source

import Markdoc from '@markdoc/markdoc';
const { Tag } = Markdoc;
import {
	createContentModelSchema,
	bodyOnly,
	createComponentRenderable,
	renderNodes,
} from '@refrakt-md/runes';

const deviceType = [
	'iphone-15',
	'iphone-se',
	'pixel',
	'phone',
	'ipad',
	'tablet',
	'browser',
	'browser-dark',
	'macbook',
	'watch',
	'none',
] as const;
const colorType = ['dark', 'light', 'auto'] as const;
const fitType = ['auto', 'none'] as const;

export const mockupMediaSlots = { viewport: 'hero' } as const;

export const mockup = createContentModelSchema({
	mediaSlots: mockupMediaSlots,
	attributes: {
		device: {
			type: String,
			required: false,
			matches: deviceType.slice(),
			description: 'Device frame to render around the content (e.g. iphone-15, browser, macbook).',
		},
		label: {
			type: String,
			required: false,
			description: 'Caption text shown below the device mockup.',
		},
		color: {
			type: String,
			required: false,
			matches: colorType.slice(),
			description: 'Device chrome color scheme: dark, light, or auto to match the page.',
		},
		statusBar: {
			type: Boolean,
			required: false,
			description: 'Enable/disable the status bar on phone and tablet device frames.',
		},
		url: {
			type: String,
			required: false,
			description: 'URL displayed in the browser address bar for browser-type devices.',
		},
		scale: {
			type: Number,
			required: false,
			description: 'Scaling factor for the mockup size (1 = default, 0.5 = half size).',
		},
		fit: {
			type: String,
			required: false,
			matches: fitType.slice(),
			description:
				'Content fitting mode: auto scales to fill the viewport, none uses natural size.',
		},
	},
	contentModel: bodyOnly(),
	transform(resolved, attrs, config) {
		const body = renderNodes(resolved.body, config);

		const device = attrs.device ?? 'browser';
		const color = attrs.color ?? 'dark';
		const statusBar = attrs.statusBar ?? true;
		const label = attrs.label ?? '';
		const url = attrs.url ?? '';
		const scale = attrs.scale ?? 1;
		const fit = attrs.fit ?? 'auto';

		const deviceMeta = new Tag('meta', { content: device });
		const colorMeta = new Tag('meta', { content: color });
		const fitMeta = new Tag('meta', { content: fit });

		const viewport = body.wrap('div').next() as InstanceType<typeof Tag>;
		viewport.attributes['data-name'] = 'viewport';

		const mobileDevices = ['iphone-15', 'iphone-se', 'pixel', 'phone'];
		const tabletDevices = ['ipad', 'tablet'];
		const isMobile = mobileDevices.includes(device);
		const isTablet = tabletDevices.includes(device);
		const isBrowser = device === 'browser' || device === 'browser-dark';
		const isMacbook = device === 'macbook';

		const notchStyle: Record<string, string> = {
			'iphone-15': 'dynamic-island',
			'iphone-se': 'classic',
			pixel: 'punch-hole',
		};

		const frameChildren: InstanceType<typeof Tag>[] = [];
		if (isMobile || isTablet) {
			const bezelChildren: InstanceType<typeof Tag>[] = [];
			if (isMobile && notchStyle[device]) {
				bezelChildren.push(
					new Tag('div', { 'data-name': 'notch', 'data-notch': notchStyle[device] }, []),
				);
			}
			if (isMobile && statusBar) {
				bezelChildren.push(
					new Tag('div', { 'data-name': 'status-bar' }, [
						new Tag('span', { 'data-name': 'status-time' }, ['9:41']),
						new Tag('span', { 'data-name': 'status-icons' }, []),
					]),
				);
			}
			bezelChildren.push(viewport);
			if (isMobile) bezelChildren.push(new Tag('div', { 'data-name': 'home-indicator' }, []));
			frameChildren.push(new Tag('div', { 'data-name': 'bezel' }, bezelChildren));
		} else if (isBrowser || isMacbook) {
			const titleBarChildren: InstanceType<typeof Tag>[] = [
				new Tag('div', { 'data-name': 'traffic-lights' }, [
					new Tag('span', { 'data-name': 'traffic-light', 'data-light': 'close' }, []),
					new Tag('span', { 'data-name': 'traffic-light', 'data-light': 'minimize' }, []),
					new Tag('span', { 'data-name': 'traffic-light', 'data-light': 'maximize' }, []),
				]),
			];
			if (isBrowser) {
				titleBarChildren.push(
					new Tag(
						'div',
						{ 'data-name': 'address-bar' },
						url ? [new Tag('span', { 'data-name': 'url' }, [url])] : [],
					),
				);
			}
			frameChildren.push(new Tag('div', { 'data-name': 'title-bar' }, titleBarChildren));
			frameChildren.push(viewport);
			if (isMacbook) {
				frameChildren.push(
					new Tag('div', { 'data-name': 'keyboard' }, [
						new Tag('div', { 'data-name': 'trackpad' }, []),
					]),
				);
			}
		} else if (device === 'watch') {
			frameChildren.push(new Tag('div', { 'data-name': 'bezel' }, [viewport]));
		} else {
			frameChildren.push(viewport);
		}

		const children: InstanceType<typeof Tag>[] = [
			new Tag('div', { 'data-name': 'frame' }, frameChildren),
		];
		if (label) children.push(new Tag('div', { 'data-name': 'label' }, [label]));

		const node = createComponentRenderable({
			rune: 'mockup',
			tag: 'div',
			properties: {
				device: deviceMeta,
				color: colorMeta,
				fit: fitMeta,
			},
			children,
		});

		if (scale && scale !== 1) {
			const existing = node.attributes.style ? `${node.attributes.style}; ` : '';
			node.attributes.style = `${existing}--mockup-scale: ${scale}`;
		}
		return node;
	},
});

View plugins/design/src/tags/mockup.ts on GitHub

Wraps a screenshot, a sandbox or any other content in a device frame — a phone, tablet, browser window, laptop or watch — to show how it looks in context. For a plain image with a caption, use figure.

Basic usage

The default device is a browser window.

{% mockup %}
	{% sandbox src="mockup-browser-landing" height=798 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;browser&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="title-bar">
      <div data-name="traffic-lights">
        <span data-name="traffic-light" data-light="close"></span>
        <span data-name="traffic-light" data-light="minimize"></span>
        <span data-name="traffic-light" data-light="maximize"></span>
      </div>
      <div data-name="address-bar"></div>
    </div>
    <div data-name="viewport">
      <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;nav&gt;
  &lt;div class=&quot;logo&quot;&gt;Acme&lt;/div&gt;
  &lt;div class=&quot;nav-links&quot;&gt;&lt;span&gt;Features&lt;/span&gt;&lt;span&gt;Pricing&lt;/span&gt;&lt;span&gt;Docs&lt;/span&gt;&lt;/div&gt;
&lt;/nav&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Build faster, ship sooner&lt;/h1&gt;
  &lt;p&gt;The modern toolkit for ambitious teams.&lt;/p&gt;
  &lt;a class=&quot;btn&quot; href=&quot;#&quot;&gt;Get started&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.logo {
	font-weight: 700;
	font-size: 18px;
}
.nav-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #64748b;
}
.hero {
	padding: 60px 24px;
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	margin: 0 0 12px;
}
.hero p {
	color: #64748b;
	margin: 0 0 24px;
	font-size: 16px;
}
.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-landing/index.html
CSS	mockup-browser-landing/style.css" data-security-mode="trusted" data-allow-js="true">
        <template data-content="fallback">
          <pre data-language="html">
            <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;nav&gt;
  &lt;div class=&quot;logo&quot;&gt;Acme&lt;/div&gt;
  &lt;div class=&quot;nav-links&quot;&gt;&lt;span&gt;Features&lt;/span&gt;&lt;span&gt;Pricing&lt;/span&gt;&lt;span&gt;Docs&lt;/span&gt;&lt;/div&gt;
&lt;/nav&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Build faster, ship sooner&lt;/h1&gt;
  &lt;p&gt;The modern toolkit for ambitious teams.&lt;/p&gt;
  &lt;a class=&quot;btn&quot; href=&quot;#&quot;&gt;Get started&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.logo {
	font-weight: 700;
	font-size: 18px;
}
.nav-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #64748b;
}
.hero {
	padding: 60px 24px;
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	margin: 0 0 12px;
}
.hero p {
	color: #64748b;
	margin: 0 0 24px;
	font-size: 16px;
}
.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

&lt;/style&gt;</code>
          </pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;nav&gt;
  &lt;div class=&quot;logo&quot;&gt;Acme&lt;/div&gt;
  &lt;div class=&quot;nav-links&quot;&gt;&lt;span&gt;Features&lt;/span&gt;&lt;span&gt;Pricing&lt;/span&gt;&lt;span&gt;Docs&lt;/span&gt;&lt;/div&gt;
&lt;/nav&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Build faster, ship sooner&lt;/h1&gt;
  &lt;p&gt;The modern toolkit for ambitious teams.&lt;/p&gt;
  &lt;a class=&quot;btn&quot; href=&quot;#&quot;&gt;Get started&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.logo {
	font-weight: 700;
	font-size: 18px;
}
.nav-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #64748b;
}
.hero {
	padding: 60px 24px;
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	margin: 0 0 12px;
}
.hero p {
	color: #64748b;
	margin: 0 0 24px;
	font-size: 16px;
}
.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
</div>
<div class="rf-mockup rf-mockup--browser rf-mockup--dark" data-device="browser" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="title-bar" class="rf-mockup__title-bar">
      <div data-name="traffic-lights" class="rf-mockup__traffic-lights">
        <span data-name="traffic-light" data-light="close" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="minimize" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="maximize" class="rf-mockup__traffic-light"></span>
      </div>
      <div data-name="address-bar" class="rf-mockup__address-bar"></div>
    </div>
    <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
      <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;nav&gt;
  &lt;div class=&quot;logo&quot;&gt;Acme&lt;/div&gt;
  &lt;div class=&quot;nav-links&quot;&gt;&lt;span&gt;Features&lt;/span&gt;&lt;span&gt;Pricing&lt;/span&gt;&lt;span&gt;Docs&lt;/span&gt;&lt;/div&gt;
&lt;/nav&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Build faster, ship sooner&lt;/h1&gt;
  &lt;p&gt;The modern toolkit for ambitious teams.&lt;/p&gt;
  &lt;a class=&quot;btn&quot; href=&quot;#&quot;&gt;Get started&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.logo {
	font-weight: 700;
	font-size: 18px;
}
.nav-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #64748b;
}
.hero {
	padding: 60px 24px;
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	margin: 0 0 12px;
}
.hero p {
	color: #64748b;
	margin: 0 0 24px;
	font-size: 16px;
}
.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-landing/index.html
CSS	mockup-browser-landing/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
        <template data-content="fallback">
          <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;nav&gt;
  &lt;div class=&quot;logo&quot;&gt;Acme&lt;/div&gt;
  &lt;div class=&quot;nav-links&quot;&gt;&lt;span&gt;Features&lt;/span&gt;&lt;span&gt;Pricing&lt;/span&gt;&lt;span&gt;Docs&lt;/span&gt;&lt;/div&gt;
&lt;/nav&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Build faster, ship sooner&lt;/h1&gt;
  &lt;p&gt;The modern toolkit for ambitious teams.&lt;/p&gt;
  &lt;a class=&quot;btn&quot; href=&quot;#&quot;&gt;Get started&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.logo {
	font-weight: 700;
	font-size: 18px;
}
.nav-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #64748b;
}
.hero {
	padding: 60px 24px;
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	margin: 0 0 12px;
}
.hero p {
	color: #64748b;
	margin: 0 0 24px;
	font-size: 16px;
}
.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

&lt;/style&gt;</code></pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;nav&gt;
  &lt;div class=&quot;logo&quot;&gt;Acme&lt;/div&gt;
  &lt;div class=&quot;nav-links&quot;&gt;&lt;span&gt;Features&lt;/span&gt;&lt;span&gt;Pricing&lt;/span&gt;&lt;span&gt;Docs&lt;/span&gt;&lt;/div&gt;
&lt;/nav&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Build faster, ship sooner&lt;/h1&gt;
  &lt;p&gt;The modern toolkit for ambitious teams.&lt;/p&gt;
  &lt;a class=&quot;btn&quot; href=&quot;#&quot;&gt;Get started&lt;/a&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 24px;
	border-bottom: 1px solid #e2e8f0;
}
.logo {
	font-weight: 700;
	font-size: 18px;
}
.nav-links {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: #64748b;
}
.hero {
	padding: 60px 24px;
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	margin: 0 0 12px;
}
.hero p {
	color: #64748b;
	margin: 0 0 24px;
	font-size: 16px;
}
.btn {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
</div>

Show it on a phone

device picks the frame.

{% mockup device="iphone-15" %}
	{% sandbox src="mockup-phone-messages" height=852 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;iphone-15&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="bezel">
      <div data-name="notch" data-notch="dynamic-island"></div>
      <div data-name="status-bar">
        <span data-name="status-time">9:41</span>
        <span data-name="status-icons"></span>
      </div>
      <div data-name="viewport">
        <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;header&quot;&gt;Messages&lt;/div&gt;
&lt;div class=&quot;search&quot;&gt;Search&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #c4b5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Alice Chen&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;2m ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Hey, are we still on for lunch tomorrow?&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;badge&quot;&gt;1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #93c5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Team Design&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;1h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;New mockups uploaded to the shared drive&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #86efac;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Jordan Lee&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;3h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Thanks for the review! I'll push the fix today.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.header {
	padding: 12px 16px 8px;
	font-size: 28px;
	font-weight: 700;
}
.search {
	margin: 0 16px 12px;
	padding: 8px 12px;
	background: #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.msg {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.msg-body {
	flex: 1;
	min-width: 0;
}
.msg-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.msg-name {
	font-weight: 600;
	font-size: 15px;
}
.msg-time {
	font-size: 12px;
	color: #94a3b8;
}
.msg-text {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.badge {
	width: 20px;
	height: 20px;
	background: #6366f1;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	flex-shrink: 0;
}

&lt;/style&gt;" data-height="852" data-source-origins="HTML	mockup-phone-messages/index.html
CSS	mockup-phone-messages/style.css" data-security-mode="trusted" data-allow-js="true">
          <template data-content="fallback">
            <pre data-language="html">
              <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;header&quot;&gt;Messages&lt;/div&gt;
&lt;div class=&quot;search&quot;&gt;Search&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #c4b5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Alice Chen&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;2m ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Hey, are we still on for lunch tomorrow?&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;badge&quot;&gt;1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #93c5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Team Design&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;1h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;New mockups uploaded to the shared drive&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #86efac;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Jordan Lee&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;3h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Thanks for the review! I'll push the fix today.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.header {
	padding: 12px 16px 8px;
	font-size: 28px;
	font-weight: 700;
}
.search {
	margin: 0 16px 12px;
	padding: 8px 12px;
	background: #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.msg {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.msg-body {
	flex: 1;
	min-width: 0;
}
.msg-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.msg-name {
	font-weight: 600;
	font-size: 15px;
}
.msg-time {
	font-size: 12px;
	color: #94a3b8;
}
.msg-text {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.badge {
	width: 20px;
	height: 20px;
	background: #6366f1;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	flex-shrink: 0;
}

&lt;/style&gt;</code>
            </pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;header&quot;&gt;Messages&lt;/div&gt;
&lt;div class=&quot;search&quot;&gt;Search&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #c4b5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Alice Chen&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;2m ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Hey, are we still on for lunch tomorrow?&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;badge&quot;&gt;1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #93c5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Team Design&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;1h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;New mockups uploaded to the shared drive&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #86efac;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Jordan Lee&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;3h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Thanks for the review! I'll push the fix today.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.header {
	padding: 12px 16px 8px;
	font-size: 28px;
	font-weight: 700;
}
.search {
	margin: 0 16px 12px;
	padding: 8px 12px;
	background: #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.msg {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.msg-body {
	flex: 1;
	min-width: 0;
}
.msg-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.msg-name {
	font-weight: 600;
	font-size: 15px;
}
.msg-time {
	font-size: 12px;
	color: #94a3b8;
}
.msg-text {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.badge {
	width: 20px;
	height: 20px;
	background: #6366f1;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	flex-shrink: 0;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
      <div data-name="home-indicator"></div>
    </div>
  </div>
</div>
9:41
<div class="rf-mockup rf-mockup--iphone-15 rf-mockup--dark" data-device="iphone-15" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="bezel" class="rf-mockup__bezel">
      <div data-name="notch" data-notch="dynamic-island" class="rf-mockup__notch"></div>
      <div data-name="status-bar" class="rf-mockup__status-bar">
        <span data-name="status-time" class="rf-mockup__status-time">9:41</span>
        <span data-name="status-icons" class="rf-mockup__status-icons"></span>
      </div>
      <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
        <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;header&quot;&gt;Messages&lt;/div&gt;
&lt;div class=&quot;search&quot;&gt;Search&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #c4b5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Alice Chen&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;2m ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Hey, are we still on for lunch tomorrow?&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;badge&quot;&gt;1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #93c5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Team Design&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;1h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;New mockups uploaded to the shared drive&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #86efac;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Jordan Lee&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;3h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Thanks for the review! I'll push the fix today.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.header {
	padding: 12px 16px 8px;
	font-size: 28px;
	font-weight: 700;
}
.search {
	margin: 0 16px 12px;
	padding: 8px 12px;
	background: #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.msg {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.msg-body {
	flex: 1;
	min-width: 0;
}
.msg-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.msg-name {
	font-weight: 600;
	font-size: 15px;
}
.msg-time {
	font-size: 12px;
	color: #94a3b8;
}
.msg-text {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.badge {
	width: 20px;
	height: 20px;
	background: #6366f1;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	flex-shrink: 0;
}

&lt;/style&gt;" data-height="852" data-source-origins="HTML	mockup-phone-messages/index.html
CSS	mockup-phone-messages/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
          <template data-content="fallback">
            <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;header&quot;&gt;Messages&lt;/div&gt;
&lt;div class=&quot;search&quot;&gt;Search&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #c4b5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Alice Chen&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;2m ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Hey, are we still on for lunch tomorrow?&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;badge&quot;&gt;1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #93c5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Team Design&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;1h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;New mockups uploaded to the shared drive&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #86efac;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Jordan Lee&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;3h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Thanks for the review! I'll push the fix today.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.header {
	padding: 12px 16px 8px;
	font-size: 28px;
	font-weight: 700;
}
.search {
	margin: 0 16px 12px;
	padding: 8px 12px;
	background: #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.msg {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.msg-body {
	flex: 1;
	min-width: 0;
}
.msg-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.msg-name {
	font-weight: 600;
	font-size: 15px;
}
.msg-time {
	font-size: 12px;
	color: #94a3b8;
}
.msg-text {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.badge {
	width: 20px;
	height: 20px;
	background: #6366f1;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	flex-shrink: 0;
}

&lt;/style&gt;</code></pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;header&quot;&gt;Messages&lt;/div&gt;
&lt;div class=&quot;search&quot;&gt;Search&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #c4b5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Alice Chen&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;2m ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Hey, are we still on for lunch tomorrow?&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;badge&quot;&gt;1&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #93c5fd;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Team Design&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;1h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;New mockups uploaded to the shared drive&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;msg&quot;&gt;
  &lt;div class=&quot;avatar&quot; style=&quot;background: #86efac;&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;msg-body&quot;&gt;
    &lt;div class=&quot;msg-top&quot;&gt;&lt;span class=&quot;msg-name&quot;&gt;Jordan Lee&lt;/span&gt;&lt;span class=&quot;msg-time&quot;&gt;3h ago&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;msg-text&quot;&gt;Thanks for the review! I'll push the fix today.&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.header {
	padding: 12px 16px 8px;
	font-size: 28px;
	font-weight: 700;
}
.search {
	margin: 0 16px 12px;
	padding: 8px 12px;
	background: #e2e8f0;
	border-radius: 10px;
	font-size: 14px;
	color: #94a3b8;
}
.msg {
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
}
.avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	flex-shrink: 0;
}
.msg-body {
	flex: 1;
	min-width: 0;
}
.msg-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.msg-name {
	font-weight: 600;
	font-size: 15px;
}
.msg-time {
	font-size: 12px;
	color: #94a3b8;
}
.msg-text {
	font-size: 14px;
	color: #64748b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 2px;
}
.badge {
	width: 20px;
	height: 20px;
	background: #6366f1;
	border-radius: 50%;
	color: #fff;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
	flex-shrink: 0;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
      <div data-name="home-indicator" class="rf-mockup__home-indicator"></div>
    </div>
  </div>
</div>

The other phones are iphone-se, pixel and a generic phone. Phones show a status bar; statusBar=false hides it.

Show it on a tablet

{% mockup device="ipad" %}
	{% sandbox src="mockup-tablet-dashboard" height=1180 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;ipad&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="bezel">
      <div data-name="viewport">
        <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;sidebar&quot;&gt;
    &lt;div class=&quot;sidebar-item active&quot;&gt;Dashboard&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Analytics&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Customers&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Products&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Settings&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;main&quot;&gt;
    &lt;h1&gt;Dashboard&lt;/h1&gt;
    &lt;div class=&quot;cards&quot;&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Revenue&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;$12.4k&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+14% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Users&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;2,841&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+7% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Bounce Rate&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;24.3%&lt;/div&gt;
        &lt;div class=&quot;card-change down&quot;&gt;-2% this month&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.app {
	display: flex;
	height: 100vh;
}
.sidebar {
	width: 200px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	padding: 20px 0;
	flex-shrink: 0;
}
.sidebar-item {
	padding: 10px 20px;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
}
.sidebar-item.active {
	color: #6366f1;
	background: #eef2ff;
	border-right: 2px solid #6366f1;
	font-weight: 600;
}
.main {
	flex: 1;
	padding: 24px;
}
.main h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.card-value {
	font-size: 28px;
	font-weight: 700;
	margin: 6px 0 4px;
}
.card-change {
	font-size: 13px;
}
.up {
	color: #22c55e;
}
.down {
	color: #ef4444;
}

&lt;/style&gt;" data-height="1180" data-source-origins="HTML	mockup-tablet-dashboard/index.html
CSS	mockup-tablet-dashboard/style.css" data-security-mode="trusted" data-allow-js="true">
          <template data-content="fallback">
            <pre data-language="html">
              <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;sidebar&quot;&gt;
    &lt;div class=&quot;sidebar-item active&quot;&gt;Dashboard&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Analytics&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Customers&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Products&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Settings&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;main&quot;&gt;
    &lt;h1&gt;Dashboard&lt;/h1&gt;
    &lt;div class=&quot;cards&quot;&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Revenue&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;$12.4k&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+14% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Users&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;2,841&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+7% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Bounce Rate&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;24.3%&lt;/div&gt;
        &lt;div class=&quot;card-change down&quot;&gt;-2% this month&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.app {
	display: flex;
	height: 100vh;
}
.sidebar {
	width: 200px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	padding: 20px 0;
	flex-shrink: 0;
}
.sidebar-item {
	padding: 10px 20px;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
}
.sidebar-item.active {
	color: #6366f1;
	background: #eef2ff;
	border-right: 2px solid #6366f1;
	font-weight: 600;
}
.main {
	flex: 1;
	padding: 24px;
}
.main h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.card-value {
	font-size: 28px;
	font-weight: 700;
	margin: 6px 0 4px;
}
.card-change {
	font-size: 13px;
}
.up {
	color: #22c55e;
}
.down {
	color: #ef4444;
}

&lt;/style&gt;</code>
            </pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;sidebar&quot;&gt;
    &lt;div class=&quot;sidebar-item active&quot;&gt;Dashboard&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Analytics&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Customers&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Products&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Settings&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;main&quot;&gt;
    &lt;h1&gt;Dashboard&lt;/h1&gt;
    &lt;div class=&quot;cards&quot;&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Revenue&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;$12.4k&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+14% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Users&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;2,841&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+7% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Bounce Rate&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;24.3%&lt;/div&gt;
        &lt;div class=&quot;card-change down&quot;&gt;-2% this month&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.app {
	display: flex;
	height: 100vh;
}
.sidebar {
	width: 200px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	padding: 20px 0;
	flex-shrink: 0;
}
.sidebar-item {
	padding: 10px 20px;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
}
.sidebar-item.active {
	color: #6366f1;
	background: #eef2ff;
	border-right: 2px solid #6366f1;
	font-weight: 600;
}
.main {
	flex: 1;
	padding: 24px;
}
.main h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.card-value {
	font-size: 28px;
	font-weight: 700;
	margin: 6px 0 4px;
}
.card-change {
	font-size: 13px;
}
.up {
	color: #22c55e;
}
.down {
	color: #ef4444;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
    </div>
  </div>
</div>
<div class="rf-mockup rf-mockup--ipad rf-mockup--dark" data-device="ipad" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="bezel" class="rf-mockup__bezel">
      <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
        <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;sidebar&quot;&gt;
    &lt;div class=&quot;sidebar-item active&quot;&gt;Dashboard&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Analytics&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Customers&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Products&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Settings&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;main&quot;&gt;
    &lt;h1&gt;Dashboard&lt;/h1&gt;
    &lt;div class=&quot;cards&quot;&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Revenue&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;$12.4k&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+14% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Users&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;2,841&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+7% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Bounce Rate&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;24.3%&lt;/div&gt;
        &lt;div class=&quot;card-change down&quot;&gt;-2% this month&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.app {
	display: flex;
	height: 100vh;
}
.sidebar {
	width: 200px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	padding: 20px 0;
	flex-shrink: 0;
}
.sidebar-item {
	padding: 10px 20px;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
}
.sidebar-item.active {
	color: #6366f1;
	background: #eef2ff;
	border-right: 2px solid #6366f1;
	font-weight: 600;
}
.main {
	flex: 1;
	padding: 24px;
}
.main h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.card-value {
	font-size: 28px;
	font-weight: 700;
	margin: 6px 0 4px;
}
.card-change {
	font-size: 13px;
}
.up {
	color: #22c55e;
}
.down {
	color: #ef4444;
}

&lt;/style&gt;" data-height="1180" data-source-origins="HTML	mockup-tablet-dashboard/index.html
CSS	mockup-tablet-dashboard/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
          <template data-content="fallback">
            <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;sidebar&quot;&gt;
    &lt;div class=&quot;sidebar-item active&quot;&gt;Dashboard&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Analytics&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Customers&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Products&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Settings&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;main&quot;&gt;
    &lt;h1&gt;Dashboard&lt;/h1&gt;
    &lt;div class=&quot;cards&quot;&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Revenue&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;$12.4k&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+14% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Users&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;2,841&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+7% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Bounce Rate&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;24.3%&lt;/div&gt;
        &lt;div class=&quot;card-change down&quot;&gt;-2% this month&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.app {
	display: flex;
	height: 100vh;
}
.sidebar {
	width: 200px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	padding: 20px 0;
	flex-shrink: 0;
}
.sidebar-item {
	padding: 10px 20px;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
}
.sidebar-item.active {
	color: #6366f1;
	background: #eef2ff;
	border-right: 2px solid #6366f1;
	font-weight: 600;
}
.main {
	flex: 1;
	padding: 24px;
}
.main h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.card-value {
	font-size: 28px;
	font-weight: 700;
	margin: 6px 0 4px;
}
.card-change {
	font-size: 13px;
}
.up {
	color: #22c55e;
}
.down {
	color: #ef4444;
}

&lt;/style&gt;</code></pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;sidebar&quot;&gt;
    &lt;div class=&quot;sidebar-item active&quot;&gt;Dashboard&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Analytics&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Customers&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Products&lt;/div&gt;
    &lt;div class=&quot;sidebar-item&quot;&gt;Settings&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;main&quot;&gt;
    &lt;h1&gt;Dashboard&lt;/h1&gt;
    &lt;div class=&quot;cards&quot;&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Revenue&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;$12.4k&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+14% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Users&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;2,841&lt;/div&gt;
        &lt;div class=&quot;card-change up&quot;&gt;+7% this month&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;card&quot;&gt;
        &lt;div class=&quot;card-label&quot;&gt;Bounce Rate&lt;/div&gt;
        &lt;div class=&quot;card-value&quot;&gt;24.3%&lt;/div&gt;
        &lt;div class=&quot;card-change down&quot;&gt;-2% this month&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.app {
	display: flex;
	height: 100vh;
}
.sidebar {
	width: 200px;
	background: #fff;
	border-right: 1px solid #e2e8f0;
	padding: 20px 0;
	flex-shrink: 0;
}
.sidebar-item {
	padding: 10px 20px;
	font-size: 14px;
	color: #64748b;
	cursor: pointer;
}
.sidebar-item.active {
	color: #6366f1;
	background: #eef2ff;
	border-right: 2px solid #6366f1;
	font-weight: 600;
}
.main {
	flex: 1;
	padding: 24px;
}
.main h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.card-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.card-value {
	font-size: 28px;
	font-weight: 700;
	margin: 6px 0 4px;
}
.card-change {
	font-size: 13px;
}
.up {
	color: #22c55e;
}
.down {
	color: #ef4444;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
    </div>
  </div>
</div>

tablet is a generic alternative.

Show a URL in the address bar

url fills the browser frame's address bar.

{% mockup device="browser" url="https://example.com/dashboard" %}
	{% sandbox src="mockup-browser-analytics" height=798 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;browser&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="title-bar">
      <div data-name="traffic-lights">
        <span data-name="traffic-light" data-light="close"></span>
        <span data-name="traffic-light" data-light="minimize"></span>
        <span data-name="traffic-light" data-light="maximize"></span>
      </div>
      <div data-name="address-bar">
        <span data-name="url">https://example.com/dashboard</span>
      </div>
    </div>
    <div data-name="viewport">
      <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;h1&gt;Analytics&lt;/h1&gt;
&lt;div class=&quot;metrics&quot;&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Page views&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;48.2k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Sessions&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;12.1k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Avg. duration&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;3m 24s&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;chart&quot;&gt;
  &lt;div class=&quot;chart-title&quot;&gt;Weekly Traffic&lt;/div&gt;
  &lt;div class=&quot;bars&quot;&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:60%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Mon&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:80%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Tue&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:45%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Wed&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:90%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Thu&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:70%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Fri&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:40%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sat&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:35%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sun&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 24px;
	box-sizing: border-box;
}
h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.metrics {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}
.metric {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.metric-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}
.metric-val {
	font-size: 24px;
	font-weight: 700;
	margin: 4px 0;
}
.chart {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}
.bars {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	height: 100px;
}
.bar {
	flex: 1;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
	position: relative;
}
.bar-label {
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-analytics/index.html
CSS	mockup-browser-analytics/style.css" data-security-mode="trusted" data-allow-js="true">
        <template data-content="fallback">
          <pre data-language="html">
            <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;h1&gt;Analytics&lt;/h1&gt;
&lt;div class=&quot;metrics&quot;&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Page views&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;48.2k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Sessions&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;12.1k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Avg. duration&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;3m 24s&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;chart&quot;&gt;
  &lt;div class=&quot;chart-title&quot;&gt;Weekly Traffic&lt;/div&gt;
  &lt;div class=&quot;bars&quot;&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:60%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Mon&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:80%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Tue&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:45%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Wed&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:90%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Thu&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:70%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Fri&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:40%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sat&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:35%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sun&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 24px;
	box-sizing: border-box;
}
h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.metrics {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}
.metric {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.metric-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}
.metric-val {
	font-size: 24px;
	font-weight: 700;
	margin: 4px 0;
}
.chart {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}
.bars {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	height: 100px;
}
.bar {
	flex: 1;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
	position: relative;
}
.bar-label {
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
}

&lt;/style&gt;</code>
          </pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;h1&gt;Analytics&lt;/h1&gt;
&lt;div class=&quot;metrics&quot;&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Page views&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;48.2k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Sessions&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;12.1k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Avg. duration&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;3m 24s&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;chart&quot;&gt;
  &lt;div class=&quot;chart-title&quot;&gt;Weekly Traffic&lt;/div&gt;
  &lt;div class=&quot;bars&quot;&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:60%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Mon&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:80%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Tue&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:45%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Wed&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:90%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Thu&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:70%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Fri&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:40%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sat&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:35%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sun&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 24px;
	box-sizing: border-box;
}
h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.metrics {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}
.metric {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.metric-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}
.metric-val {
	font-size: 24px;
	font-weight: 700;
	margin: 4px 0;
}
.chart {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}
.bars {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	height: 100px;
}
.bar {
	flex: 1;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
	position: relative;
}
.bar-label {
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
</div>
https://example.com/dashboard
<div class="rf-mockup rf-mockup--browser rf-mockup--dark" data-device="browser" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="title-bar" class="rf-mockup__title-bar">
      <div data-name="traffic-lights" class="rf-mockup__traffic-lights">
        <span data-name="traffic-light" data-light="close" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="minimize" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="maximize" class="rf-mockup__traffic-light"></span>
      </div>
      <div data-name="address-bar" class="rf-mockup__address-bar">
        <span data-name="url" class="rf-mockup__url">https://example.com/dashboard</span>
      </div>
    </div>
    <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
      <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;h1&gt;Analytics&lt;/h1&gt;
&lt;div class=&quot;metrics&quot;&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Page views&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;48.2k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Sessions&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;12.1k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Avg. duration&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;3m 24s&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;chart&quot;&gt;
  &lt;div class=&quot;chart-title&quot;&gt;Weekly Traffic&lt;/div&gt;
  &lt;div class=&quot;bars&quot;&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:60%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Mon&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:80%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Tue&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:45%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Wed&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:90%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Thu&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:70%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Fri&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:40%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sat&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:35%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sun&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 24px;
	box-sizing: border-box;
}
h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.metrics {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}
.metric {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.metric-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}
.metric-val {
	font-size: 24px;
	font-weight: 700;
	margin: 4px 0;
}
.chart {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}
.bars {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	height: 100px;
}
.bar {
	flex: 1;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
	position: relative;
}
.bar-label {
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-analytics/index.html
CSS	mockup-browser-analytics/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
        <template data-content="fallback">
          <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;h1&gt;Analytics&lt;/h1&gt;
&lt;div class=&quot;metrics&quot;&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Page views&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;48.2k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Sessions&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;12.1k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Avg. duration&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;3m 24s&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;chart&quot;&gt;
  &lt;div class=&quot;chart-title&quot;&gt;Weekly Traffic&lt;/div&gt;
  &lt;div class=&quot;bars&quot;&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:60%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Mon&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:80%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Tue&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:45%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Wed&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:90%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Thu&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:70%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Fri&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:40%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sat&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:35%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sun&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 24px;
	box-sizing: border-box;
}
h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.metrics {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}
.metric {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.metric-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}
.metric-val {
	font-size: 24px;
	font-weight: 700;
	margin: 4px 0;
}
.chart {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}
.bars {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	height: 100px;
}
.bar {
	flex: 1;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
	position: relative;
}
.bar-label {
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
}

&lt;/style&gt;</code></pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;h1&gt;Analytics&lt;/h1&gt;
&lt;div class=&quot;metrics&quot;&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Page views&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;48.2k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Sessions&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;12.1k&lt;/div&gt;&lt;/div&gt;
  &lt;div class=&quot;metric&quot;&gt;&lt;div class=&quot;metric-label&quot;&gt;Avg. duration&lt;/div&gt;&lt;div class=&quot;metric-val&quot;&gt;3m 24s&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;chart&quot;&gt;
  &lt;div class=&quot;chart-title&quot;&gt;Weekly Traffic&lt;/div&gt;
  &lt;div class=&quot;bars&quot;&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:60%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Mon&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:80%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Tue&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:45%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Wed&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:90%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Thu&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:70%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Fri&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:40%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sat&lt;/span&gt;&lt;/div&gt;
    &lt;div class=&quot;bar&quot; style=&quot;height:35%&quot;&gt;&lt;span class=&quot;bar-label&quot;&gt;Sun&lt;/span&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 24px;
	box-sizing: border-box;
}
h1 {
	font-size: 22px;
	margin: 0 0 20px;
}
.metrics {
	display: flex;
	gap: 16px;
	margin-bottom: 24px;
}
.metric {
	flex: 1;
	background: #fff;
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.metric-label {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}
.metric-val {
	font-size: 24px;
	font-weight: 700;
	margin: 4px 0;
}
.chart {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.chart-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 16px;
}
.bars {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	height: 100px;
}
.bar {
	flex: 1;
	background: #6366f1;
	border-radius: 4px 4px 0 0;
	position: relative;
}
.bar-label {
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 11px;
	color: #94a3b8;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
</div>

Use dark browser chrome

{% mockup device="browser-dark" url="https://app.example.com" %}
	{% sandbox src="mockup-browser-deployments" height=798 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;browser-dark&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="title-bar">
      <div data-name="traffic-lights">
        <span data-name="traffic-light" data-light="close"></span>
        <span data-name="traffic-light" data-light="minimize"></span>
        <span data-name="traffic-light" data-light="maximize"></span>
      </div>
      <div data-name="address-bar">
        <span data-name="url">https://app.example.com</span>
      </div>
    </div>
    <div data-name="viewport">
      <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;side&quot;&gt;
    &lt;div class=&quot;side-item active&quot;&gt;Deployments&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Domains&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Storage&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Logs&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;content&quot;&gt;
    &lt;h1&gt;Deployments&lt;/h1&gt;
    &lt;table class=&quot;table&quot;&gt;
      &lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Region&lt;/th&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;api-prod&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;web-app&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;eu-west-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;worker-queue&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status off&quot;&gt;Stopped&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
}
.app {
	display: flex;
	height: 100vh;
}
.side {
	width: 180px;
	background: #1e293b;
	padding: 20px 0;
	border-right: 1px solid #334155;
	flex-shrink: 0;
}
.side-item {
	padding: 10px 20px;
	font-size: 13px;
	color: #94a3b8;
}
.side-item.active {
	color: #a5b4fc;
	background: rgba(99, 102, 241, 0.1);
}
.content {
	flex: 1;
	padding: 24px;
}
.content h1 {
	font-size: 20px;
	margin: 0 0 16px;
	color: #f1f5f9;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
	font-weight: 500;
}
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid #1e293b;
}
.status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
}
.status.on {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}
.status.off {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-deployments/index.html
CSS	mockup-browser-deployments/style.css" data-security-mode="trusted" data-allow-js="true">
        <template data-content="fallback">
          <pre data-language="html">
            <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;side&quot;&gt;
    &lt;div class=&quot;side-item active&quot;&gt;Deployments&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Domains&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Storage&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Logs&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;content&quot;&gt;
    &lt;h1&gt;Deployments&lt;/h1&gt;
    &lt;table class=&quot;table&quot;&gt;
      &lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Region&lt;/th&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;api-prod&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;web-app&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;eu-west-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;worker-queue&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status off&quot;&gt;Stopped&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
}
.app {
	display: flex;
	height: 100vh;
}
.side {
	width: 180px;
	background: #1e293b;
	padding: 20px 0;
	border-right: 1px solid #334155;
	flex-shrink: 0;
}
.side-item {
	padding: 10px 20px;
	font-size: 13px;
	color: #94a3b8;
}
.side-item.active {
	color: #a5b4fc;
	background: rgba(99, 102, 241, 0.1);
}
.content {
	flex: 1;
	padding: 24px;
}
.content h1 {
	font-size: 20px;
	margin: 0 0 16px;
	color: #f1f5f9;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
	font-weight: 500;
}
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid #1e293b;
}
.status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
}
.status.on {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}
.status.off {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

&lt;/style&gt;</code>
          </pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;side&quot;&gt;
    &lt;div class=&quot;side-item active&quot;&gt;Deployments&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Domains&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Storage&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Logs&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;content&quot;&gt;
    &lt;h1&gt;Deployments&lt;/h1&gt;
    &lt;table class=&quot;table&quot;&gt;
      &lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Region&lt;/th&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;api-prod&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;web-app&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;eu-west-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;worker-queue&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status off&quot;&gt;Stopped&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
}
.app {
	display: flex;
	height: 100vh;
}
.side {
	width: 180px;
	background: #1e293b;
	padding: 20px 0;
	border-right: 1px solid #334155;
	flex-shrink: 0;
}
.side-item {
	padding: 10px 20px;
	font-size: 13px;
	color: #94a3b8;
}
.side-item.active {
	color: #a5b4fc;
	background: rgba(99, 102, 241, 0.1);
}
.content {
	flex: 1;
	padding: 24px;
}
.content h1 {
	font-size: 20px;
	margin: 0 0 16px;
	color: #f1f5f9;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
	font-weight: 500;
}
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid #1e293b;
}
.status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
}
.status.on {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}
.status.off {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
</div>
https://app.example.com
<div class="rf-mockup rf-mockup--browser-dark rf-mockup--dark" data-device="browser-dark" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="title-bar" class="rf-mockup__title-bar">
      <div data-name="traffic-lights" class="rf-mockup__traffic-lights">
        <span data-name="traffic-light" data-light="close" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="minimize" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="maximize" class="rf-mockup__traffic-light"></span>
      </div>
      <div data-name="address-bar" class="rf-mockup__address-bar">
        <span data-name="url" class="rf-mockup__url">https://app.example.com</span>
      </div>
    </div>
    <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
      <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;side&quot;&gt;
    &lt;div class=&quot;side-item active&quot;&gt;Deployments&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Domains&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Storage&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Logs&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;content&quot;&gt;
    &lt;h1&gt;Deployments&lt;/h1&gt;
    &lt;table class=&quot;table&quot;&gt;
      &lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Region&lt;/th&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;api-prod&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;web-app&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;eu-west-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;worker-queue&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status off&quot;&gt;Stopped&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
}
.app {
	display: flex;
	height: 100vh;
}
.side {
	width: 180px;
	background: #1e293b;
	padding: 20px 0;
	border-right: 1px solid #334155;
	flex-shrink: 0;
}
.side-item {
	padding: 10px 20px;
	font-size: 13px;
	color: #94a3b8;
}
.side-item.active {
	color: #a5b4fc;
	background: rgba(99, 102, 241, 0.1);
}
.content {
	flex: 1;
	padding: 24px;
}
.content h1 {
	font-size: 20px;
	margin: 0 0 16px;
	color: #f1f5f9;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
	font-weight: 500;
}
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid #1e293b;
}
.status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
}
.status.on {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}
.status.off {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-deployments/index.html
CSS	mockup-browser-deployments/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
        <template data-content="fallback">
          <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;side&quot;&gt;
    &lt;div class=&quot;side-item active&quot;&gt;Deployments&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Domains&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Storage&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Logs&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;content&quot;&gt;
    &lt;h1&gt;Deployments&lt;/h1&gt;
    &lt;table class=&quot;table&quot;&gt;
      &lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Region&lt;/th&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;api-prod&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;web-app&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;eu-west-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;worker-queue&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status off&quot;&gt;Stopped&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
}
.app {
	display: flex;
	height: 100vh;
}
.side {
	width: 180px;
	background: #1e293b;
	padding: 20px 0;
	border-right: 1px solid #334155;
	flex-shrink: 0;
}
.side-item {
	padding: 10px 20px;
	font-size: 13px;
	color: #94a3b8;
}
.side-item.active {
	color: #a5b4fc;
	background: rgba(99, 102, 241, 0.1);
}
.content {
	flex: 1;
	padding: 24px;
}
.content h1 {
	font-size: 20px;
	margin: 0 0 16px;
	color: #f1f5f9;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
	font-weight: 500;
}
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid #1e293b;
}
.status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
}
.status.on {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}
.status.off {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

&lt;/style&gt;</code></pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;side&quot;&gt;
    &lt;div class=&quot;side-item active&quot;&gt;Deployments&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Domains&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Storage&lt;/div&gt;
    &lt;div class=&quot;side-item&quot;&gt;Logs&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;content&quot;&gt;
    &lt;h1&gt;Deployments&lt;/h1&gt;
    &lt;table class=&quot;table&quot;&gt;
      &lt;tr&gt;&lt;th&gt;Service&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&lt;th&gt;Region&lt;/th&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;api-prod&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;web-app&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status on&quot;&gt;Live&lt;/span&gt;&lt;/td&gt;&lt;td&gt;eu-west-1&lt;/td&gt;&lt;/tr&gt;
      &lt;tr&gt;&lt;td&gt;worker-queue&lt;/td&gt;&lt;td&gt;&lt;span class=&quot;status off&quot;&gt;Stopped&lt;/span&gt;&lt;/td&gt;&lt;td&gt;us-east-1&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #0f172a;
	color: #e2e8f0;
}
.app {
	display: flex;
	height: 100vh;
}
.side {
	width: 180px;
	background: #1e293b;
	padding: 20px 0;
	border-right: 1px solid #334155;
	flex-shrink: 0;
}
.side-item {
	padding: 10px 20px;
	font-size: 13px;
	color: #94a3b8;
}
.side-item.active {
	color: #a5b4fc;
	background: rgba(99, 102, 241, 0.1);
}
.content {
	flex: 1;
	padding: 24px;
}
.content h1 {
	font-size: 20px;
	margin: 0 0 16px;
	color: #f1f5f9;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.table th {
	text-align: left;
	padding: 10px 12px;
	color: #94a3b8;
	border-bottom: 1px solid #334155;
	font-weight: 500;
}
.table td {
	padding: 10px 12px;
	border-bottom: 1px solid #1e293b;
}
.status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 600;
}
.status.on {
	background: rgba(34, 197, 94, 0.15);
	color: #4ade80;
}
.status.off {
	background: rgba(239, 68, 68, 0.15);
	color: #f87171;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
</div>

Show it on a laptop

device="macbook" draws the screen above a keyboard and trackpad.

{% mockup device="macbook" %}
	{% sandbox src="mockup-laptop-editor" height=900 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;macbook&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="title-bar">
      <div data-name="traffic-lights">
        <span data-name="traffic-light" data-light="close"></span>
        <span data-name="traffic-light" data-light="minimize"></span>
        <span data-name="traffic-light" data-light="maximize"></span>
      </div>
    </div>
    <div data-name="viewport">
      <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;toolbar&quot;&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;File&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;Edit&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;View&lt;/span&gt;
    &lt;span style=&quot;flex:1&quot;&gt;&lt;/span&gt;
    &lt;span style=&quot;color:#94a3b8; font-size:12px;&quot;&gt;main.ts — project&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;workspace&quot;&gt;
    &lt;div class=&quot;panel&quot;&gt;
      &lt;div class=&quot;panel-title&quot;&gt;Explorer&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;src/&lt;/div&gt;
      &lt;div class=&quot;file active&quot;&gt;&amp;nbsp;&amp;nbsp;main.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;utils.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;types.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;package.json&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;editor&quot;&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;import&lt;/span&gt; { &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt; } &lt;span class=&quot;kw&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;'./app'&lt;/span&gt;;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;// Initialize the application&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;const&lt;/span&gt; app = &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt;({&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;5&lt;/span&gt;&amp;nbsp;&amp;nbsp;port: &lt;span class=&quot;str&quot;&gt;3000&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;6&lt;/span&gt;&amp;nbsp;&amp;nbsp;env: &lt;span class=&quot;str&quot;&gt;'production'&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;7&lt;/span&gt;});&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;9&lt;/span&gt;app.&lt;span class=&quot;fn&quot;&gt;listen&lt;/span&gt;();&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #fff;
	color: #1e293b;
}
.app {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}
.toolbar-btn {
	padding: 4px 10px;
	background: #e2e8f0;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
}
.workspace {
	display: flex;
	flex: 1;
}
.panel {
	width: 180px;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 12px;
	font-size: 13px;
	overflow: hidden;
	flex-shrink: 0;
}
.panel-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}
.file {
	padding: 4px 8px;
	border-radius: 4px;
	color: #475569;
}
.file.active {
	background: #6366f1;
	color: #fff;
}
.editor {
	flex: 1;
	padding: 16px;
	font-family: &quot;SF Mono&quot;, &quot;Fira Code&quot;, monospace;
	font-size: 13px;
	background: #fafafa;
	line-height: 1.7;
	overflow: hidden;
}
.ln {
	color: #cbd5e1;
	margin-right: 16px;
	user-select: none;
}
.kw {
	color: #8b5cf6;
}
.fn {
	color: #2563eb;
}
.str {
	color: #16a34a;
}
.cm {
	color: #94a3b8;
}

&lt;/style&gt;" data-height="900" data-source-origins="HTML	mockup-laptop-editor/index.html
CSS	mockup-laptop-editor/style.css" data-security-mode="trusted" data-allow-js="true">
        <template data-content="fallback">
          <pre data-language="html">
            <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;toolbar&quot;&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;File&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;Edit&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;View&lt;/span&gt;
    &lt;span style=&quot;flex:1&quot;&gt;&lt;/span&gt;
    &lt;span style=&quot;color:#94a3b8; font-size:12px;&quot;&gt;main.ts — project&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;workspace&quot;&gt;
    &lt;div class=&quot;panel&quot;&gt;
      &lt;div class=&quot;panel-title&quot;&gt;Explorer&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;src/&lt;/div&gt;
      &lt;div class=&quot;file active&quot;&gt;&amp;nbsp;&amp;nbsp;main.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;utils.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;types.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;package.json&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;editor&quot;&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;import&lt;/span&gt; { &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt; } &lt;span class=&quot;kw&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;'./app'&lt;/span&gt;;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;// Initialize the application&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;const&lt;/span&gt; app = &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt;({&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;5&lt;/span&gt;&amp;nbsp;&amp;nbsp;port: &lt;span class=&quot;str&quot;&gt;3000&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;6&lt;/span&gt;&amp;nbsp;&amp;nbsp;env: &lt;span class=&quot;str&quot;&gt;'production'&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;7&lt;/span&gt;});&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;9&lt;/span&gt;app.&lt;span class=&quot;fn&quot;&gt;listen&lt;/span&gt;();&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #fff;
	color: #1e293b;
}
.app {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}
.toolbar-btn {
	padding: 4px 10px;
	background: #e2e8f0;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
}
.workspace {
	display: flex;
	flex: 1;
}
.panel {
	width: 180px;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 12px;
	font-size: 13px;
	overflow: hidden;
	flex-shrink: 0;
}
.panel-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}
.file {
	padding: 4px 8px;
	border-radius: 4px;
	color: #475569;
}
.file.active {
	background: #6366f1;
	color: #fff;
}
.editor {
	flex: 1;
	padding: 16px;
	font-family: &quot;SF Mono&quot;, &quot;Fira Code&quot;, monospace;
	font-size: 13px;
	background: #fafafa;
	line-height: 1.7;
	overflow: hidden;
}
.ln {
	color: #cbd5e1;
	margin-right: 16px;
	user-select: none;
}
.kw {
	color: #8b5cf6;
}
.fn {
	color: #2563eb;
}
.str {
	color: #16a34a;
}
.cm {
	color: #94a3b8;
}

&lt;/style&gt;</code>
          </pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;toolbar&quot;&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;File&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;Edit&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;View&lt;/span&gt;
    &lt;span style=&quot;flex:1&quot;&gt;&lt;/span&gt;
    &lt;span style=&quot;color:#94a3b8; font-size:12px;&quot;&gt;main.ts — project&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;workspace&quot;&gt;
    &lt;div class=&quot;panel&quot;&gt;
      &lt;div class=&quot;panel-title&quot;&gt;Explorer&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;src/&lt;/div&gt;
      &lt;div class=&quot;file active&quot;&gt;&amp;nbsp;&amp;nbsp;main.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;utils.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;types.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;package.json&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;editor&quot;&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;import&lt;/span&gt; { &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt; } &lt;span class=&quot;kw&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;'./app'&lt;/span&gt;;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;// Initialize the application&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;const&lt;/span&gt; app = &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt;({&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;5&lt;/span&gt;&amp;nbsp;&amp;nbsp;port: &lt;span class=&quot;str&quot;&gt;3000&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;6&lt;/span&gt;&amp;nbsp;&amp;nbsp;env: &lt;span class=&quot;str&quot;&gt;'production'&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;7&lt;/span&gt;});&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;9&lt;/span&gt;app.&lt;span class=&quot;fn&quot;&gt;listen&lt;/span&gt;();&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #fff;
	color: #1e293b;
}
.app {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}
.toolbar-btn {
	padding: 4px 10px;
	background: #e2e8f0;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
}
.workspace {
	display: flex;
	flex: 1;
}
.panel {
	width: 180px;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 12px;
	font-size: 13px;
	overflow: hidden;
	flex-shrink: 0;
}
.panel-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}
.file {
	padding: 4px 8px;
	border-radius: 4px;
	color: #475569;
}
.file.active {
	background: #6366f1;
	color: #fff;
}
.editor {
	flex: 1;
	padding: 16px;
	font-family: &quot;SF Mono&quot;, &quot;Fira Code&quot;, monospace;
	font-size: 13px;
	background: #fafafa;
	line-height: 1.7;
	overflow: hidden;
}
.ln {
	color: #cbd5e1;
	margin-right: 16px;
	user-select: none;
}
.kw {
	color: #8b5cf6;
}
.fn {
	color: #2563eb;
}
.str {
	color: #16a34a;
}
.cm {
	color: #94a3b8;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
    <div data-name="keyboard">
      <div data-name="trackpad"></div>
    </div>
  </div>
</div>
<div class="rf-mockup rf-mockup--macbook rf-mockup--dark" data-device="macbook" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="title-bar" class="rf-mockup__title-bar">
      <div data-name="traffic-lights" class="rf-mockup__traffic-lights">
        <span data-name="traffic-light" data-light="close" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="minimize" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="maximize" class="rf-mockup__traffic-light"></span>
      </div>
    </div>
    <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
      <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;toolbar&quot;&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;File&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;Edit&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;View&lt;/span&gt;
    &lt;span style=&quot;flex:1&quot;&gt;&lt;/span&gt;
    &lt;span style=&quot;color:#94a3b8; font-size:12px;&quot;&gt;main.ts — project&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;workspace&quot;&gt;
    &lt;div class=&quot;panel&quot;&gt;
      &lt;div class=&quot;panel-title&quot;&gt;Explorer&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;src/&lt;/div&gt;
      &lt;div class=&quot;file active&quot;&gt;&amp;nbsp;&amp;nbsp;main.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;utils.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;types.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;package.json&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;editor&quot;&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;import&lt;/span&gt; { &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt; } &lt;span class=&quot;kw&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;'./app'&lt;/span&gt;;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;// Initialize the application&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;const&lt;/span&gt; app = &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt;({&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;5&lt;/span&gt;&amp;nbsp;&amp;nbsp;port: &lt;span class=&quot;str&quot;&gt;3000&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;6&lt;/span&gt;&amp;nbsp;&amp;nbsp;env: &lt;span class=&quot;str&quot;&gt;'production'&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;7&lt;/span&gt;});&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;9&lt;/span&gt;app.&lt;span class=&quot;fn&quot;&gt;listen&lt;/span&gt;();&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #fff;
	color: #1e293b;
}
.app {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}
.toolbar-btn {
	padding: 4px 10px;
	background: #e2e8f0;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
}
.workspace {
	display: flex;
	flex: 1;
}
.panel {
	width: 180px;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 12px;
	font-size: 13px;
	overflow: hidden;
	flex-shrink: 0;
}
.panel-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}
.file {
	padding: 4px 8px;
	border-radius: 4px;
	color: #475569;
}
.file.active {
	background: #6366f1;
	color: #fff;
}
.editor {
	flex: 1;
	padding: 16px;
	font-family: &quot;SF Mono&quot;, &quot;Fira Code&quot;, monospace;
	font-size: 13px;
	background: #fafafa;
	line-height: 1.7;
	overflow: hidden;
}
.ln {
	color: #cbd5e1;
	margin-right: 16px;
	user-select: none;
}
.kw {
	color: #8b5cf6;
}
.fn {
	color: #2563eb;
}
.str {
	color: #16a34a;
}
.cm {
	color: #94a3b8;
}

&lt;/style&gt;" data-height="900" data-source-origins="HTML	mockup-laptop-editor/index.html
CSS	mockup-laptop-editor/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
        <template data-content="fallback">
          <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;toolbar&quot;&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;File&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;Edit&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;View&lt;/span&gt;
    &lt;span style=&quot;flex:1&quot;&gt;&lt;/span&gt;
    &lt;span style=&quot;color:#94a3b8; font-size:12px;&quot;&gt;main.ts — project&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;workspace&quot;&gt;
    &lt;div class=&quot;panel&quot;&gt;
      &lt;div class=&quot;panel-title&quot;&gt;Explorer&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;src/&lt;/div&gt;
      &lt;div class=&quot;file active&quot;&gt;&amp;nbsp;&amp;nbsp;main.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;utils.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;types.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;package.json&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;editor&quot;&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;import&lt;/span&gt; { &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt; } &lt;span class=&quot;kw&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;'./app'&lt;/span&gt;;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;// Initialize the application&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;const&lt;/span&gt; app = &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt;({&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;5&lt;/span&gt;&amp;nbsp;&amp;nbsp;port: &lt;span class=&quot;str&quot;&gt;3000&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;6&lt;/span&gt;&amp;nbsp;&amp;nbsp;env: &lt;span class=&quot;str&quot;&gt;'production'&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;7&lt;/span&gt;});&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;9&lt;/span&gt;app.&lt;span class=&quot;fn&quot;&gt;listen&lt;/span&gt;();&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #fff;
	color: #1e293b;
}
.app {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}
.toolbar-btn {
	padding: 4px 10px;
	background: #e2e8f0;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
}
.workspace {
	display: flex;
	flex: 1;
}
.panel {
	width: 180px;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 12px;
	font-size: 13px;
	overflow: hidden;
	flex-shrink: 0;
}
.panel-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}
.file {
	padding: 4px 8px;
	border-radius: 4px;
	color: #475569;
}
.file.active {
	background: #6366f1;
	color: #fff;
}
.editor {
	flex: 1;
	padding: 16px;
	font-family: &quot;SF Mono&quot;, &quot;Fira Code&quot;, monospace;
	font-size: 13px;
	background: #fafafa;
	line-height: 1.7;
	overflow: hidden;
}
.ln {
	color: #cbd5e1;
	margin-right: 16px;
	user-select: none;
}
.kw {
	color: #8b5cf6;
}
.fn {
	color: #2563eb;
}
.str {
	color: #16a34a;
}
.cm {
	color: #94a3b8;
}

&lt;/style&gt;</code></pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;toolbar&quot;&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;File&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;Edit&lt;/span&gt;
    &lt;span class=&quot;toolbar-btn&quot;&gt;View&lt;/span&gt;
    &lt;span style=&quot;flex:1&quot;&gt;&lt;/span&gt;
    &lt;span style=&quot;color:#94a3b8; font-size:12px;&quot;&gt;main.ts — project&lt;/span&gt;
  &lt;/div&gt;
  &lt;div class=&quot;workspace&quot;&gt;
    &lt;div class=&quot;panel&quot;&gt;
      &lt;div class=&quot;panel-title&quot;&gt;Explorer&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;src/&lt;/div&gt;
      &lt;div class=&quot;file active&quot;&gt;&amp;nbsp;&amp;nbsp;main.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;utils.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;&amp;nbsp;&amp;nbsp;types.ts&lt;/div&gt;
      &lt;div class=&quot;file&quot;&gt;package.json&lt;/div&gt;
    &lt;/div&gt;
    &lt;div class=&quot;editor&quot;&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;import&lt;/span&gt; { &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt; } &lt;span class=&quot;kw&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;'./app'&lt;/span&gt;;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;2&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;// Initialize the application&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;kw&quot;&gt;const&lt;/span&gt; app = &lt;span class=&quot;fn&quot;&gt;createApp&lt;/span&gt;({&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;5&lt;/span&gt;&amp;nbsp;&amp;nbsp;port: &lt;span class=&quot;str&quot;&gt;3000&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;6&lt;/span&gt;&amp;nbsp;&amp;nbsp;env: &lt;span class=&quot;str&quot;&gt;'production'&lt;/span&gt;,&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;7&lt;/span&gt;});&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;8&lt;/span&gt;&lt;/div&gt;
      &lt;div&gt;&lt;span class=&quot;ln&quot;&gt;9&lt;/span&gt;app.&lt;span class=&quot;fn&quot;&gt;listen&lt;/span&gt;();&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #fff;
	color: #1e293b;
}
.app {
	display: flex;
	flex-direction: column;
	height: 100vh;
}
.toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
}
.toolbar-btn {
	padding: 4px 10px;
	background: #e2e8f0;
	border-radius: 4px;
	font-size: 12px;
	color: #475569;
}
.workspace {
	display: flex;
	flex: 1;
}
.panel {
	width: 180px;
	background: #f8fafc;
	border-right: 1px solid #e2e8f0;
	padding: 12px;
	font-size: 13px;
	overflow: hidden;
	flex-shrink: 0;
}
.panel-title {
	font-size: 11px;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	font-weight: 600;
}
.file {
	padding: 4px 8px;
	border-radius: 4px;
	color: #475569;
}
.file.active {
	background: #6366f1;
	color: #fff;
}
.editor {
	flex: 1;
	padding: 16px;
	font-family: &quot;SF Mono&quot;, &quot;Fira Code&quot;, monospace;
	font-size: 13px;
	background: #fafafa;
	line-height: 1.7;
	overflow: hidden;
}
.ln {
	color: #cbd5e1;
	margin-right: 16px;
	user-select: none;
}
.kw {
	color: #8b5cf6;
}
.fn {
	color: #2563eb;
}
.str {
	color: #16a34a;
}
.cm {
	color: #94a3b8;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
    <div data-name="keyboard" class="rf-mockup__keyboard">
      <div data-name="trackpad" class="rf-mockup__trackpad"></div>
    </div>
  </div>
</div>

Show it on a watch

{% mockup device="watch" color="dark" %}
	{% sandbox src="mockup-watch-face" height=242 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;watch&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="bezel">
      <div data-name="viewport">
        <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;time&quot;&gt;10:09&lt;/div&gt;
  &lt;div class=&quot;date&quot;&gt;TUE MAR 4&lt;/div&gt;
  &lt;div class=&quot;rings&quot;&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #ef4444;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #22c55e;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #06b6d4;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #000;
	color: #fff;
}
.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 12px;
	text-align: center;
	box-sizing: border-box;
}
.time {
	font-size: 36px;
	font-weight: 200;
	letter-spacing: 2px;
}
.date {
	font-size: 11px;
	color: #f97316;
	margin-top: 2px;
	font-weight: 600;
}
.rings {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.ring {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid;
}

&lt;/style&gt;" data-height="242" data-source-origins="HTML	mockup-watch-face/index.html
CSS	mockup-watch-face/style.css" data-security-mode="trusted" data-allow-js="true">
          <template data-content="fallback">
            <pre data-language="html">
              <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;time&quot;&gt;10:09&lt;/div&gt;
  &lt;div class=&quot;date&quot;&gt;TUE MAR 4&lt;/div&gt;
  &lt;div class=&quot;rings&quot;&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #ef4444;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #22c55e;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #06b6d4;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #000;
	color: #fff;
}
.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 12px;
	text-align: center;
	box-sizing: border-box;
}
.time {
	font-size: 36px;
	font-weight: 200;
	letter-spacing: 2px;
}
.date {
	font-size: 11px;
	color: #f97316;
	margin-top: 2px;
	font-weight: 600;
}
.rings {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.ring {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid;
}

&lt;/style&gt;</code>
            </pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;time&quot;&gt;10:09&lt;/div&gt;
  &lt;div class=&quot;date&quot;&gt;TUE MAR 4&lt;/div&gt;
  &lt;div class=&quot;rings&quot;&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #ef4444;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #22c55e;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #06b6d4;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #000;
	color: #fff;
}
.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 12px;
	text-align: center;
	box-sizing: border-box;
}
.time {
	font-size: 36px;
	font-weight: 200;
	letter-spacing: 2px;
}
.date {
	font-size: 11px;
	color: #f97316;
	margin-top: 2px;
	font-weight: 600;
}
.rings {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.ring {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
    </div>
  </div>
</div>
<div class="rf-mockup rf-mockup--watch rf-mockup--dark" data-device="watch" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="bezel" class="rf-mockup__bezel">
      <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
        <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;time&quot;&gt;10:09&lt;/div&gt;
  &lt;div class=&quot;date&quot;&gt;TUE MAR 4&lt;/div&gt;
  &lt;div class=&quot;rings&quot;&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #ef4444;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #22c55e;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #06b6d4;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #000;
	color: #fff;
}
.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 12px;
	text-align: center;
	box-sizing: border-box;
}
.time {
	font-size: 36px;
	font-weight: 200;
	letter-spacing: 2px;
}
.date {
	font-size: 11px;
	color: #f97316;
	margin-top: 2px;
	font-weight: 600;
}
.rings {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.ring {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid;
}

&lt;/style&gt;" data-height="242" data-source-origins="HTML	mockup-watch-face/index.html
CSS	mockup-watch-face/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
          <template data-content="fallback">
            <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;time&quot;&gt;10:09&lt;/div&gt;
  &lt;div class=&quot;date&quot;&gt;TUE MAR 4&lt;/div&gt;
  &lt;div class=&quot;rings&quot;&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #ef4444;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #22c55e;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #06b6d4;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #000;
	color: #fff;
}
.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 12px;
	text-align: center;
	box-sizing: border-box;
}
.time {
	font-size: 36px;
	font-weight: 200;
	letter-spacing: 2px;
}
.date {
	font-size: 11px;
	color: #f97316;
	margin-top: 2px;
	font-weight: 600;
}
.rings {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.ring {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid;
}

&lt;/style&gt;</code></pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;app&quot;&gt;
  &lt;div class=&quot;time&quot;&gt;10:09&lt;/div&gt;
  &lt;div class=&quot;date&quot;&gt;TUE MAR 4&lt;/div&gt;
  &lt;div class=&quot;rings&quot;&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #ef4444;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #22c55e;&quot;&gt;&lt;/div&gt;
    &lt;div class=&quot;ring&quot; style=&quot;border-color: #06b6d4;&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #000;
	color: #fff;
}
.app {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100vh;
	padding: 12px;
	text-align: center;
	box-sizing: border-box;
}
.time {
	font-size: 36px;
	font-weight: 200;
	letter-spacing: 2px;
}
.date {
	font-size: 11px;
	color: #f97316;
	margin-top: 2px;
	font-weight: 600;
}
.rings {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.ring {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 3px solid;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
    </div>
  </div>
</div>

Change the bezel color

color takes dark (the default), light, or auto to follow the page.

{% mockup device="iphone-15" color="light" %}
	{% sandbox src="mockup-phone-player" height=852 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;iphone-15&quot;,&quot;color&quot;:&quot;light&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="bezel">
      <div data-name="notch" data-notch="dynamic-island"></div>
      <div data-name="status-bar">
        <span data-name="status-time">9:41</span>
        <span data-name="status-icons"></span>
      </div>
      <div data-name="viewport">
        <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;now-playing&quot;&gt;
  &lt;div class=&quot;art&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;title&quot;&gt;Midnight Drive&lt;/div&gt;
  &lt;div class=&quot;artist&quot;&gt;Neon Waves&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;progress-fill&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;times&quot;&gt;&lt;span&gt;1:24&lt;/span&gt;&lt;span&gt;3:42&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;controls&quot;&gt;
  &lt;span&gt;&amp;#9198;&lt;/span&gt;
  &lt;div class=&quot;play&quot;&gt;&lt;/div&gt;
  &lt;span&gt;&amp;#9197;&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.now-playing {
	padding: 32px 20px 20px;
	text-align: center;
}
.art {
	width: 180px;
	height: 180px;
	margin: 0 auto 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
}
.title {
	font-size: 18px;
	font-weight: 700;
}
.artist {
	font-size: 14px;
	color: #64748b;
	margin-top: 2px;
}
.progress {
	margin: 20px 20px 0;
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
}
.progress-fill {
	height: 100%;
	width: 40%;
	background: #6366f1;
	border-radius: 2px;
}
.times {
	display: flex;
	justify-content: space-between;
	margin: 6px 20px 0;
	font-size: 11px;
	color: #94a3b8;
}
.controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	font-size: 20px;
	color: #334155;
}
.play {
	width: 48px;
	height: 48px;
	background: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play::after {
	content: &quot;&quot;;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

&lt;/style&gt;" data-height="852" data-source-origins="HTML	mockup-phone-player/index.html
CSS	mockup-phone-player/style.css" data-security-mode="trusted" data-allow-js="true">
          <template data-content="fallback">
            <pre data-language="html">
              <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;now-playing&quot;&gt;
  &lt;div class=&quot;art&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;title&quot;&gt;Midnight Drive&lt;/div&gt;
  &lt;div class=&quot;artist&quot;&gt;Neon Waves&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;progress-fill&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;times&quot;&gt;&lt;span&gt;1:24&lt;/span&gt;&lt;span&gt;3:42&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;controls&quot;&gt;
  &lt;span&gt;&amp;#9198;&lt;/span&gt;
  &lt;div class=&quot;play&quot;&gt;&lt;/div&gt;
  &lt;span&gt;&amp;#9197;&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.now-playing {
	padding: 32px 20px 20px;
	text-align: center;
}
.art {
	width: 180px;
	height: 180px;
	margin: 0 auto 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
}
.title {
	font-size: 18px;
	font-weight: 700;
}
.artist {
	font-size: 14px;
	color: #64748b;
	margin-top: 2px;
}
.progress {
	margin: 20px 20px 0;
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
}
.progress-fill {
	height: 100%;
	width: 40%;
	background: #6366f1;
	border-radius: 2px;
}
.times {
	display: flex;
	justify-content: space-between;
	margin: 6px 20px 0;
	font-size: 11px;
	color: #94a3b8;
}
.controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	font-size: 20px;
	color: #334155;
}
.play {
	width: 48px;
	height: 48px;
	background: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play::after {
	content: &quot;&quot;;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

&lt;/style&gt;</code>
            </pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;now-playing&quot;&gt;
  &lt;div class=&quot;art&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;title&quot;&gt;Midnight Drive&lt;/div&gt;
  &lt;div class=&quot;artist&quot;&gt;Neon Waves&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;progress-fill&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;times&quot;&gt;&lt;span&gt;1:24&lt;/span&gt;&lt;span&gt;3:42&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;controls&quot;&gt;
  &lt;span&gt;&amp;#9198;&lt;/span&gt;
  &lt;div class=&quot;play&quot;&gt;&lt;/div&gt;
  &lt;span&gt;&amp;#9197;&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.now-playing {
	padding: 32px 20px 20px;
	text-align: center;
}
.art {
	width: 180px;
	height: 180px;
	margin: 0 auto 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
}
.title {
	font-size: 18px;
	font-weight: 700;
}
.artist {
	font-size: 14px;
	color: #64748b;
	margin-top: 2px;
}
.progress {
	margin: 20px 20px 0;
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
}
.progress-fill {
	height: 100%;
	width: 40%;
	background: #6366f1;
	border-radius: 2px;
}
.times {
	display: flex;
	justify-content: space-between;
	margin: 6px 20px 0;
	font-size: 11px;
	color: #94a3b8;
}
.controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	font-size: 20px;
	color: #334155;
}
.play {
	width: 48px;
	height: 48px;
	background: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play::after {
	content: &quot;&quot;;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
      <div data-name="home-indicator"></div>
    </div>
  </div>
</div>
9:41
<div class="rf-mockup rf-mockup--iphone-15 rf-mockup--light" data-device="iphone-15" data-color="light" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="bezel" class="rf-mockup__bezel">
      <div data-name="notch" data-notch="dynamic-island" class="rf-mockup__notch"></div>
      <div data-name="status-bar" class="rf-mockup__status-bar">
        <span data-name="status-time" class="rf-mockup__status-time">9:41</span>
        <span data-name="status-icons" class="rf-mockup__status-icons"></span>
      </div>
      <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
        <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;now-playing&quot;&gt;
  &lt;div class=&quot;art&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;title&quot;&gt;Midnight Drive&lt;/div&gt;
  &lt;div class=&quot;artist&quot;&gt;Neon Waves&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;progress-fill&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;times&quot;&gt;&lt;span&gt;1:24&lt;/span&gt;&lt;span&gt;3:42&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;controls&quot;&gt;
  &lt;span&gt;&amp;#9198;&lt;/span&gt;
  &lt;div class=&quot;play&quot;&gt;&lt;/div&gt;
  &lt;span&gt;&amp;#9197;&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.now-playing {
	padding: 32px 20px 20px;
	text-align: center;
}
.art {
	width: 180px;
	height: 180px;
	margin: 0 auto 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
}
.title {
	font-size: 18px;
	font-weight: 700;
}
.artist {
	font-size: 14px;
	color: #64748b;
	margin-top: 2px;
}
.progress {
	margin: 20px 20px 0;
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
}
.progress-fill {
	height: 100%;
	width: 40%;
	background: #6366f1;
	border-radius: 2px;
}
.times {
	display: flex;
	justify-content: space-between;
	margin: 6px 20px 0;
	font-size: 11px;
	color: #94a3b8;
}
.controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	font-size: 20px;
	color: #334155;
}
.play {
	width: 48px;
	height: 48px;
	background: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play::after {
	content: &quot;&quot;;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

&lt;/style&gt;" data-height="852" data-source-origins="HTML	mockup-phone-player/index.html
CSS	mockup-phone-player/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
          <template data-content="fallback">
            <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;now-playing&quot;&gt;
  &lt;div class=&quot;art&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;title&quot;&gt;Midnight Drive&lt;/div&gt;
  &lt;div class=&quot;artist&quot;&gt;Neon Waves&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;progress-fill&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;times&quot;&gt;&lt;span&gt;1:24&lt;/span&gt;&lt;span&gt;3:42&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;controls&quot;&gt;
  &lt;span&gt;&amp;#9198;&lt;/span&gt;
  &lt;div class=&quot;play&quot;&gt;&lt;/div&gt;
  &lt;span&gt;&amp;#9197;&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.now-playing {
	padding: 32px 20px 20px;
	text-align: center;
}
.art {
	width: 180px;
	height: 180px;
	margin: 0 auto 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
}
.title {
	font-size: 18px;
	font-weight: 700;
}
.artist {
	font-size: 14px;
	color: #64748b;
	margin-top: 2px;
}
.progress {
	margin: 20px 20px 0;
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
}
.progress-fill {
	height: 100%;
	width: 40%;
	background: #6366f1;
	border-radius: 2px;
}
.times {
	display: flex;
	justify-content: space-between;
	margin: 6px 20px 0;
	font-size: 11px;
	color: #94a3b8;
}
.controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	font-size: 20px;
	color: #334155;
}
.play {
	width: 48px;
	height: 48px;
	background: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play::after {
	content: &quot;&quot;;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

&lt;/style&gt;</code></pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;now-playing&quot;&gt;
  &lt;div class=&quot;art&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;title&quot;&gt;Midnight Drive&lt;/div&gt;
  &lt;div class=&quot;artist&quot;&gt;Neon Waves&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;progress&quot;&gt;&lt;div class=&quot;progress-fill&quot;&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;times&quot;&gt;&lt;span&gt;1:24&lt;/span&gt;&lt;span&gt;3:42&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;controls&quot;&gt;
  &lt;span&gt;&amp;#9198;&lt;/span&gt;
  &lt;div class=&quot;play&quot;&gt;&lt;/div&gt;
  &lt;span&gt;&amp;#9197;&lt;/span&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
}
.now-playing {
	padding: 32px 20px 20px;
	text-align: center;
}
.art {
	width: 180px;
	height: 180px;
	margin: 0 auto 20px;
	border-radius: 12px;
	background: linear-gradient(135deg, #c4b5fd, #818cf8, #6366f1);
}
.title {
	font-size: 18px;
	font-weight: 700;
}
.artist {
	font-size: 14px;
	color: #64748b;
	margin-top: 2px;
}
.progress {
	margin: 20px 20px 0;
	height: 3px;
	background: #e2e8f0;
	border-radius: 2px;
}
.progress-fill {
	height: 100%;
	width: 40%;
	background: #6366f1;
	border-radius: 2px;
}
.times {
	display: flex;
	justify-content: space-between;
	margin: 6px 20px 0;
	font-size: 11px;
	color: #94a3b8;
}
.controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 16px;
	font-size: 20px;
	color: #334155;
}
.play {
	width: 48px;
	height: 48px;
	background: #6366f1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.play::after {
	content: &quot;&quot;;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #fff;
	margin-left: 2px;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
      <div data-name="home-indicator" class="rf-mockup__home-indicator"></div>
    </div>
  </div>
</div>

Add a caption

label puts a caption below the frame.

{% mockup device="browser" url="https://example.com" label="Homepage — Desktop" %}
	{% sandbox src="mockup-browser-homepage" height=798 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;browser&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="title-bar">
      <div data-name="traffic-lights">
        <span data-name="traffic-light" data-light="close"></span>
        <span data-name="traffic-light" data-light="minimize"></span>
        <span data-name="traffic-light" data-light="maximize"></span>
      </div>
      <div data-name="address-bar">
        <span data-name="url">https://example.com</span>
      </div>
    </div>
    <div data-name="viewport">
      <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Deploys you can forget about&lt;/h1&gt;
  &lt;p&gt;Preview builds, instant rollbacks and logs in one place.&lt;/p&gt;
  &lt;a class=&quot;cta&quot; href=&quot;#&quot;&gt;Start free trial&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;features&quot;&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#9889;&lt;/div&gt;&lt;h3&gt;Fast&lt;/h3&gt;&lt;p&gt;Sub-second load times&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128274;&lt;/div&gt;&lt;h3&gt;Secure&lt;/h3&gt;&lt;p&gt;Enterprise-grade auth&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128200;&lt;/div&gt;&lt;h3&gt;Scalable&lt;/h3&gt;&lt;p&gt;Grows with your team&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
.hero {
	text-align: center;
	padding: 48px 24px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.hero h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.hero p {
	color: #64748b;
	margin: 0 0 20px;
}
.cta {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 32px 24px;
}
.feat {
	text-align: center;
	padding: 16px;
}
.feat-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 10px;
	background: #eef2ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.feat h3 {
	font-size: 14px;
	margin: 0 0 4px;
}
.feat p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-homepage/index.html
CSS	mockup-browser-homepage/style.css" data-security-mode="trusted" data-allow-js="true">
        <template data-content="fallback">
          <pre data-language="html">
            <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Deploys you can forget about&lt;/h1&gt;
  &lt;p&gt;Preview builds, instant rollbacks and logs in one place.&lt;/p&gt;
  &lt;a class=&quot;cta&quot; href=&quot;#&quot;&gt;Start free trial&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;features&quot;&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#9889;&lt;/div&gt;&lt;h3&gt;Fast&lt;/h3&gt;&lt;p&gt;Sub-second load times&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128274;&lt;/div&gt;&lt;h3&gt;Secure&lt;/h3&gt;&lt;p&gt;Enterprise-grade auth&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128200;&lt;/div&gt;&lt;h3&gt;Scalable&lt;/h3&gt;&lt;p&gt;Grows with your team&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
.hero {
	text-align: center;
	padding: 48px 24px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.hero h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.hero p {
	color: #64748b;
	margin: 0 0 20px;
}
.cta {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 32px 24px;
}
.feat {
	text-align: center;
	padding: 16px;
}
.feat-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 10px;
	background: #eef2ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.feat h3 {
	font-size: 14px;
	margin: 0 0 4px;
}
.feat p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

&lt;/style&gt;</code>
          </pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Deploys you can forget about&lt;/h1&gt;
  &lt;p&gt;Preview builds, instant rollbacks and logs in one place.&lt;/p&gt;
  &lt;a class=&quot;cta&quot; href=&quot;#&quot;&gt;Start free trial&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;features&quot;&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#9889;&lt;/div&gt;&lt;h3&gt;Fast&lt;/h3&gt;&lt;p&gt;Sub-second load times&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128274;&lt;/div&gt;&lt;h3&gt;Secure&lt;/h3&gt;&lt;p&gt;Enterprise-grade auth&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128200;&lt;/div&gt;&lt;h3&gt;Scalable&lt;/h3&gt;&lt;p&gt;Grows with your team&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
.hero {
	text-align: center;
	padding: 48px 24px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.hero h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.hero p {
	color: #64748b;
	margin: 0 0 20px;
}
.cta {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 32px 24px;
}
.feat {
	text-align: center;
	padding: 16px;
}
.feat-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 10px;
	background: #eef2ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.feat h3 {
	font-size: 14px;
	margin: 0 0 4px;
}
.feat p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
  <div data-name="label">Homepage — Desktop</div>
</div>
https://example.com
Homepage — Desktop
<div class="rf-mockup rf-mockup--browser rf-mockup--dark" data-device="browser" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="title-bar" class="rf-mockup__title-bar">
      <div data-name="traffic-lights" class="rf-mockup__traffic-lights">
        <span data-name="traffic-light" data-light="close" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="minimize" class="rf-mockup__traffic-light"></span>
        <span data-name="traffic-light" data-light="maximize" class="rf-mockup__traffic-light"></span>
      </div>
      <div data-name="address-bar" class="rf-mockup__address-bar">
        <span data-name="url" class="rf-mockup__url">https://example.com</span>
      </div>
    </div>
    <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
      <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Deploys you can forget about&lt;/h1&gt;
  &lt;p&gt;Preview builds, instant rollbacks and logs in one place.&lt;/p&gt;
  &lt;a class=&quot;cta&quot; href=&quot;#&quot;&gt;Start free trial&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;features&quot;&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#9889;&lt;/div&gt;&lt;h3&gt;Fast&lt;/h3&gt;&lt;p&gt;Sub-second load times&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128274;&lt;/div&gt;&lt;h3&gt;Secure&lt;/h3&gt;&lt;p&gt;Enterprise-grade auth&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128200;&lt;/div&gt;&lt;h3&gt;Scalable&lt;/h3&gt;&lt;p&gt;Grows with your team&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
.hero {
	text-align: center;
	padding: 48px 24px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.hero h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.hero p {
	color: #64748b;
	margin: 0 0 20px;
}
.cta {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 32px 24px;
}
.feat {
	text-align: center;
	padding: 16px;
}
.feat-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 10px;
	background: #eef2ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.feat h3 {
	font-size: 14px;
	margin: 0 0 4px;
}
.feat p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

&lt;/style&gt;" data-height="798" data-source-origins="HTML	mockup-browser-homepage/index.html
CSS	mockup-browser-homepage/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
        <template data-content="fallback">
          <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Deploys you can forget about&lt;/h1&gt;
  &lt;p&gt;Preview builds, instant rollbacks and logs in one place.&lt;/p&gt;
  &lt;a class=&quot;cta&quot; href=&quot;#&quot;&gt;Start free trial&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;features&quot;&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#9889;&lt;/div&gt;&lt;h3&gt;Fast&lt;/h3&gt;&lt;p&gt;Sub-second load times&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128274;&lt;/div&gt;&lt;h3&gt;Secure&lt;/h3&gt;&lt;p&gt;Enterprise-grade auth&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128200;&lt;/div&gt;&lt;h3&gt;Scalable&lt;/h3&gt;&lt;p&gt;Grows with your team&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
.hero {
	text-align: center;
	padding: 48px 24px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.hero h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.hero p {
	color: #64748b;
	margin: 0 0 20px;
}
.cta {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 32px 24px;
}
.feat {
	text-align: center;
	padding: 16px;
}
.feat-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 10px;
	background: #eef2ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.feat h3 {
	font-size: 14px;
	margin: 0 0 4px;
}
.feat p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

&lt;/style&gt;</code></pre>
        </template>
        <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;hero&quot;&gt;
  &lt;h1&gt;Deploys you can forget about&lt;/h1&gt;
  &lt;p&gt;Preview builds, instant rollbacks and logs in one place.&lt;/p&gt;
  &lt;a class=&quot;cta&quot; href=&quot;#&quot;&gt;Start free trial&lt;/a&gt;
&lt;/div&gt;
&lt;div class=&quot;features&quot;&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#9889;&lt;/div&gt;&lt;h3&gt;Fast&lt;/h3&gt;&lt;p&gt;Sub-second load times&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128274;&lt;/div&gt;&lt;h3&gt;Secure&lt;/h3&gt;&lt;p&gt;Enterprise-grade auth&lt;/p&gt;&lt;/div&gt;
  &lt;div class=&quot;feat&quot;&gt;&lt;div class=&quot;feat-icon&quot;&gt;&amp;#128200;&lt;/div&gt;&lt;h3&gt;Scalable&lt;/h3&gt;&lt;p&gt;Grows with your team&lt;/p&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	color: #1e293b;
	background: #fff;
}
.hero {
	text-align: center;
	padding: 48px 24px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}
.hero h1 {
	font-size: 28px;
	margin: 0 0 8px;
}
.hero p {
	color: #64748b;
	margin: 0 0 20px;
}
.cta {
	display: inline-block;
	padding: 10px 24px;
	background: #6366f1;
	color: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}
.features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding: 32px 24px;
}
.feat {
	text-align: center;
	padding: 16px;
}
.feat-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto 10px;
	border-radius: 10px;
	background: #eef2ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}
.feat h3 {
	font-size: 14px;
	margin: 0 0 4px;
}
.feat p {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

&lt;/style&gt;</template>
      </rf-sandbox>
    </div>
  </div>
  <div data-name="label" class="rf-mockup__label">Homepage — Desktop</div>
</div>

Resize the frame

scale shrinks or enlarges the whole frame; 0.75 is three-quarters size.

{% mockup device="iphone-15" scale=0.75 %}
	{% sandbox src="mockup-phone-profile" height=852 /%}
{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;iphone-15&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}" style="--mockup-scale: 0.75">
  <div data-name="frame">
    <div data-name="bezel">
      <div data-name="notch" data-notch="dynamic-island"></div>
      <div data-name="status-bar">
        <span data-name="status-time">9:41</span>
        <span data-name="status-icons"></span>
      </div>
      <div data-name="viewport">
        <rf-sandbox data-rune="sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;profile&quot;&gt;
  &lt;div class=&quot;avatar&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;name&quot;&gt;Sam Rivera&lt;/div&gt;
  &lt;div class=&quot;handle&quot;&gt;@samrivera&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;stats&quot;&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;842&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Posts&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;12.4k&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Followers&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;381&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Following&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;follow-btn&quot;&gt;Follow&lt;/div&gt;
&lt;div class=&quot;bio&quot;&gt;Designer &amp; developer. Building things for the web.&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 16px;
	box-sizing: border-box;
}
.profile {
	text-align: center;
	padding: 20px 0 16px;
}
.avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f97316, #ec4899);
	margin: 0 auto 12px;
}
.name {
	font-size: 18px;
	font-weight: 700;
}
.handle {
	font-size: 13px;
	color: #94a3b8;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}
.stat-val {
	font-size: 17px;
	font-weight: 700;
}
.stat-label {
	font-size: 11px;
	color: #94a3b8;
}
.follow-btn {
	display: block;
	margin: 0 20px;
	padding: 10px;
	background: #6366f1;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
.bio {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin: 14px 20px 0;
	line-height: 1.4;
}

&lt;/style&gt;" data-height="852" data-source-origins="HTML	mockup-phone-profile/index.html
CSS	mockup-phone-profile/style.css" data-security-mode="trusted" data-allow-js="true">
          <template data-content="fallback">
            <pre data-language="html">
              <code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;profile&quot;&gt;
  &lt;div class=&quot;avatar&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;name&quot;&gt;Sam Rivera&lt;/div&gt;
  &lt;div class=&quot;handle&quot;&gt;@samrivera&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;stats&quot;&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;842&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Posts&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;12.4k&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Followers&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;381&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Following&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;follow-btn&quot;&gt;Follow&lt;/div&gt;
&lt;div class=&quot;bio&quot;&gt;Designer &amp; developer. Building things for the web.&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 16px;
	box-sizing: border-box;
}
.profile {
	text-align: center;
	padding: 20px 0 16px;
}
.avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f97316, #ec4899);
	margin: 0 auto 12px;
}
.name {
	font-size: 18px;
	font-weight: 700;
}
.handle {
	font-size: 13px;
	color: #94a3b8;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}
.stat-val {
	font-size: 17px;
	font-weight: 700;
}
.stat-label {
	font-size: 11px;
	color: #94a3b8;
}
.follow-btn {
	display: block;
	margin: 0 20px;
	padding: 10px;
	background: #6366f1;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
.bio {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin: 14px 20px 0;
	line-height: 1.4;
}

&lt;/style&gt;</code>
            </pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;profile&quot;&gt;
  &lt;div class=&quot;avatar&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;name&quot;&gt;Sam Rivera&lt;/div&gt;
  &lt;div class=&quot;handle&quot;&gt;@samrivera&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;stats&quot;&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;842&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Posts&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;12.4k&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Followers&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;381&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Following&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;follow-btn&quot;&gt;Follow&lt;/div&gt;
&lt;div class=&quot;bio&quot;&gt;Designer &amp; developer. Building things for the web.&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 16px;
	box-sizing: border-box;
}
.profile {
	text-align: center;
	padding: 20px 0 16px;
}
.avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f97316, #ec4899);
	margin: 0 auto 12px;
}
.name {
	font-size: 18px;
	font-weight: 700;
}
.handle {
	font-size: 13px;
	color: #94a3b8;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}
.stat-val {
	font-size: 17px;
	font-weight: 700;
}
.stat-label {
	font-size: 11px;
	color: #94a3b8;
}
.follow-btn {
	display: block;
	margin: 0 20px;
	padding: 10px;
	background: #6366f1;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
.bio {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin: 14px 20px 0;
	line-height: 1.4;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
      <div data-name="home-indicator"></div>
    </div>
  </div>
</div>
9:41
<div class="rf-mockup rf-mockup--iphone-15 rf-mockup--dark" style="--mockup-scale: 0.75" data-device="iphone-15" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="bezel" class="rf-mockup__bezel">
      <div data-name="notch" data-notch="dynamic-island" class="rf-mockup__notch"></div>
      <div data-name="status-bar" class="rf-mockup__status-bar">
        <span data-name="status-time" class="rf-mockup__status-time">9:41</span>
        <span data-name="status-icons" class="rf-mockup__status-icons"></span>
      </div>
      <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
        <rf-sandbox class="rf-sandbox" data-source-content="&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;profile&quot;&gt;
  &lt;div class=&quot;avatar&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;name&quot;&gt;Sam Rivera&lt;/div&gt;
  &lt;div class=&quot;handle&quot;&gt;@samrivera&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;stats&quot;&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;842&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Posts&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;12.4k&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Followers&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;381&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Following&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;follow-btn&quot;&gt;Follow&lt;/div&gt;
&lt;div class=&quot;bio&quot;&gt;Designer &amp; developer. Building things for the web.&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 16px;
	box-sizing: border-box;
}
.profile {
	text-align: center;
	padding: 20px 0 16px;
}
.avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f97316, #ec4899);
	margin: 0 auto 12px;
}
.name {
	font-size: 18px;
	font-weight: 700;
}
.handle {
	font-size: 13px;
	color: #94a3b8;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}
.stat-val {
	font-size: 17px;
	font-weight: 700;
}
.stat-label {
	font-size: 11px;
	color: #94a3b8;
}
.follow-btn {
	display: block;
	margin: 0 20px;
	padding: 10px;
	background: #6366f1;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
.bio {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin: 14px 20px 0;
	line-height: 1.4;
}

&lt;/style&gt;" data-height="852" data-source-origins="HTML	mockup-phone-profile/index.html
CSS	mockup-phone-profile/style.css" data-security-mode="trusted" data-allow-js="true" data-rune="sandbox" data-density="compact">
          <template data-content="fallback">
            <pre data-language="html"><code data-language="html">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;profile&quot;&gt;
  &lt;div class=&quot;avatar&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;name&quot;&gt;Sam Rivera&lt;/div&gt;
  &lt;div class=&quot;handle&quot;&gt;@samrivera&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;stats&quot;&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;842&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Posts&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;12.4k&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Followers&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;381&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Following&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;follow-btn&quot;&gt;Follow&lt;/div&gt;
&lt;div class=&quot;bio&quot;&gt;Designer &amp; developer. Building things for the web.&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 16px;
	box-sizing: border-box;
}
.profile {
	text-align: center;
	padding: 20px 0 16px;
}
.avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f97316, #ec4899);
	margin: 0 auto 12px;
}
.name {
	font-size: 18px;
	font-weight: 700;
}
.handle {
	font-size: 13px;
	color: #94a3b8;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}
.stat-val {
	font-size: 17px;
	font-weight: 700;
}
.stat-label {
	font-size: 11px;
	color: #94a3b8;
}
.follow-btn {
	display: block;
	margin: 0 20px;
	padding: 10px;
	background: #6366f1;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
.bio {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin: 14px 20px 0;
	line-height: 1.4;
}

&lt;/style&gt;</code></pre>
          </template>
          <template data-content="source">&lt;div data-source=&quot;HTML&quot;&gt;
&lt;div class=&quot;profile&quot;&gt;
  &lt;div class=&quot;avatar&quot;&gt;&lt;/div&gt;
  &lt;div class=&quot;name&quot;&gt;Sam Rivera&lt;/div&gt;
  &lt;div class=&quot;handle&quot;&gt;@samrivera&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;stats&quot;&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;842&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Posts&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;12.4k&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Followers&lt;/div&gt;&lt;/div&gt;
  &lt;div&gt;&lt;div class=&quot;stat-val&quot;&gt;381&lt;/div&gt;&lt;div class=&quot;stat-label&quot;&gt;Following&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;follow-btn&quot;&gt;Follow&lt;/div&gt;
&lt;div class=&quot;bio&quot;&gt;Designer &amp; developer. Building things for the web.&lt;/div&gt;

&lt;/div&gt;
&lt;style data-source=&quot;CSS&quot;&gt;
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: system-ui, sans-serif;
	background: #f8fafc;
	color: #1e293b;
	padding: 16px;
	box-sizing: border-box;
}
.profile {
	text-align: center;
	padding: 20px 0 16px;
}
.avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f97316, #ec4899);
	margin: 0 auto 12px;
}
.name {
	font-size: 18px;
	font-weight: 700;
}
.handle {
	font-size: 13px;
	color: #94a3b8;
}
.stats {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin: 16px 0;
}
.stat-val {
	font-size: 17px;
	font-weight: 700;
}
.stat-label {
	font-size: 11px;
	color: #94a3b8;
}
.follow-btn {
	display: block;
	margin: 0 20px;
	padding: 10px;
	background: #6366f1;
	color: #fff;
	border-radius: 10px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}
.bio {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin: 14px 20px 0;
	line-height: 1.4;
}

&lt;/style&gt;</template>
        </rf-sandbox>
      </div>
      <div data-name="home-indicator" class="rf-mockup__home-indicator"></div>
    </div>
  </div>
</div>

Drop the device chrome

device="none" draws a plain dashed border instead of a device.

{% mockup device="none" %}

Content without any device chrome.

{% /mockup %}
<div data-rune="mockup" data-rune-fields="{&quot;device&quot;:&quot;none&quot;,&quot;color&quot;:&quot;dark&quot;,&quot;fit&quot;:&quot;auto&quot;}">
  <div data-name="frame">
    <div data-name="viewport">
      <p>Content without any device chrome.</p>
    </div>
  </div>
</div>

Content without any device chrome.

<div class="rf-mockup rf-mockup--none rf-mockup--dark" data-device="none" data-color="dark" data-fit="auto" data-elevation="flush" data-rune="mockup" data-density="compact">
  <div data-name="frame" class="rf-mockup__frame">
    <div data-name="viewport" class="rf-mockup__viewport" data-media="hero">
      <p>Content without any device chrome.</p>
    </div>
  </div>
</div>

Put a mockup in a card or bento

A mockup works as the media of a card or a bento cell, and scales its frame and content to fit. Media guests shows it in both.

Attributes

AttributeTypeRequiredDescription
device"iphone-15" | "iphone-se" | "pixel" | "phone" | "ipad" | "tablet" | "browser" | "browser-dark" | "macbook" | "watch" | "none"—Device frame to render around the content (e.g. iphone-15, browser, macbook).
labelstring—Caption text shown below the device mockup.
color"dark" | "light" | "auto"—Device chrome color scheme: dark, light, or auto to match the page.
statusBarboolean—Enable/disable the status bar on phone and tablet device frames.
urlstring—URL displayed in the browser address bar for browser-type devices.
scalenumber—Scaling factor for the mockup size (1 = default, 0.5 = half size).
fit"auto" | "none"—Content fitting mode: auto scales to fill the viewport, none uses natural size.

Universal attributes

bg

The background layer: image, video, gradient, flat overlay wash and legibility scrim, in a single injected layer behind the rune's content.

AttributeTypeRequiredDescription
bgstring—Background preset applied to this block
bg-fromstring—Gradient start colour — a semantic token name (→ var(--rf-color-*))
bg-gradient"to-t" | "to-b" | "to-l" | "to-r" | "to-tr" | "to-br" | "to-bl" | "to-tl"—Gradient direction (bounded named set)
bg-gradient-type"linear" | "radial" | "conic"—Gradient type
bg-tostring—Gradient end colour — a semantic token name
bg-viastring—Optional middle gradient stop — a semantic token name
scrim"top" | "bottom" | "left" | "right" | "none"—Scrim direction (heaviest edge); presence turns the scrim on, "none" opts out of the default cover scrim
scrim-blur"none" | "sm" | "md" | "lg"—Frost scrim blur amount
scrim-strength"sm" | "md" | "lg"—Gradient scrim strength
scrim-tone"dark" | "light"—Whether the scrim darkens (for light text) or lightens (for dark text)
scrim-type"gradient" | "frost"—Scrim treatment: gradient (default) or frost (backdrop blur)
elevation

How far the rune sits off the page, from sunken to overlay. The theme decides what each step looks like.

AttributeTypeRequiredDescription
elevation"sunken" | "flush" | "flat" | "raised" | "floating" | "overlay" | "none" | "sm" | "md" | "lg"—Surface depth, from sunken to overlay. Deprecated: none, sm, md and lg (read as flat, raised, raised and floating)
inset

Internal padding override.

AttributeTypeRequiredDescription
inset"flush" | "tight" | "default" | "loose" | "breathe"—Inner padding of this block
motion

Scroll-reveal entrance. You choose its character; the theme decides how it moves.

AttributeTypeRequiredDescription
reveal"none" | "fade" | "slide" | "scale" | "blur"—Scroll-reveal entrance character (none|fade|slide|scale|blur); the theme owns the choreography
staggerboolean—Cascade this block's items in as it reveals (no-op on single-child runes)
spacing

Block-level rhythm override.

AttributeTypeRequiredDescription
spacing"flush" | "tight" | "default" | "loose" | "breathe"—Vertical spacing above and below this block
substrate

Generated pattern fills behind the content, drawn by the theme.

AttributeTypeRequiredDescription
substrate"dots" | "grid" | "lines" | "cross" | "checker" | "none"—Generated surface pattern
substrate-fill"inherit" | "inset"—Surface fill the pattern sits on (full colour stays with tint)
substrate-opacity"sm" | "md" | "lg"—Pattern ink strength
substrate-size"sm" | "md" | "lg"—Pattern cell size
substrate-target"self" | "media"—Which surface the pattern fills (overrides the rune/theme default)
tint

Per-rune colour override: a named tint from the theme registry, with inline per-token overrides layered on top.

AttributeTypeRequiredDescription
tintstring—Color tint preset applied to this block
tint-mode"auto" | "dark" | "light"—Whether the tint adapts to auto, dark, or light mode
width

The track a block rune occupies.

AttributeTypeRequiredDescription
width"compact" | "narrow" | "content" | "wide" | "full"—Maximum width constraint for this block
Not availableWhy
dropcap, readingthis rune declares no prose body
framethis rune declares neither a `frameTarget` nor a media section
prominencethis rune has no page-section header or featured quotation