Desktops have one layout. On phones and tablets the same markup can also lay itself out like a native app: or .
Code
Copy it into a page of your app. Load the CSS and register the components once (see framework setup); links point at routes like /orders that you replace with your own.
This template works: the page renders from data.ts (sample rows, replace them with your API) and behavior.ts makes its controls work. The behaviour file is the same in every framework.
<script type="module">
import '@prismora/css';
import '@prismora/elements/badge';
import '@prismora/elements/button';
import '@prismora/elements/card';
import '@prismora/elements/copy-button';
import '@prismora/elements/countdown';
import '@prismora/elements/drawer';
import '@prismora/elements/icon';
import '@prismora/elements/input';
import '@prismora/elements/result';
import '@prismora/elements/segmented';
import '@prismora/elements/theme-settings';
import '@prismora/elements/theme-switch';
import { registerIcons } from '@prismora/elements/icon';
import { arrowRight, bell, fingerprint, mail, settings, wifiOff, zap } from '@prismora/icons';
import { data } from './prismora/coming-soon/data';
import { setup } from './prismora/coming-soon/behavior';
registerIcons([arrowRight, bell, fingerprint, mail, settings, wifiOff, zap]);
setup(document.body, data);
</script>
<main class="pm-centered-page" style="--pm-container: 40rem">
<a href="/" class="pm-brand pm-justify-center">
<pm-icon name="zap"></pm-icon>
<span class="pm-brand-name">Lumen</span>
</a>
<div class="pm-stack pm-items-center pm-text-center">
<pm-badge tone="accent" size="lg" data-ref="badge">Launching 1 March 2027</pm-badge>
<h1 class="pm-text-4xl pm-heading">Lumen for your phone is almost here</h1>
<p class="pm-lead">Your roadmap, tasks and numbers in your pocket. Join the list and be the first to try it.</p>
</div>
<div class="pm-cluster pm-justify-center">
<pm-countdown to="2027-03-01T09:00:00Z" label="Time until launch" data-ref="countdown"></pm-countdown>
</div>
<pm-card>
<form class="pm-stack" novalidate data-ref="form">
<pm-input label="Email" type="email" name="email" autocomplete="email" icon-start="mail" required data-ref="email"></pm-input>
<div class="pm-stack pm-gap-2">
<span class="pm-text-sm pm-weight-medium" aria-hidden="true">Your phone</span>
<pm-segmented label="Your phone" name="platform" value="both" data-ref="platform">
<pm-segment value="ios">iPhone</pm-segment>
<pm-segment value="android">Android</pm-segment>
<pm-segment value="both">Both</pm-segment>
</pm-segmented>
</div>
<pm-button type="submit" size="lg" icon-end="arrow-right" data-ref="submit">Join the list</pm-button>
<p class="pm-text-xs pm-muted pm-text-center" data-ref="waiting">1,284 people are on the list</p>
</form>
<pm-result status="success" heading="You are on the list" heading-level="2" data-ref="done" hidden>
<pm-copy-button variant="outline" show-label label="Copy your invite link" data-ref="invite"></pm-copy-button>
<pm-button variant="ghost" tone="neutral" data-action="again">Add another address</pm-button>
</pm-result>
</pm-card>
<div class="pm-grid" data-min="sm">
<div class="pm-feature">
<span class="pm-feature-icon">
<pm-icon name="wifi-off"></pm-icon>
</span>
<h2 class="pm-text-md pm-weight-semibold">Works offline</h2>
<p>Read and edit on a plane. It syncs when you land.</p>
</div>
<div class="pm-feature">
<span class="pm-feature-icon">
<pm-icon name="bell"></pm-icon>
</span>
<h2 class="pm-text-md pm-weight-semibold">Only what matters</h2>
<p>Mentions and due dates, not every change.</p>
</div>
<div class="pm-feature">
<span class="pm-feature-icon">
<pm-icon name="fingerprint"></pm-icon>
</span>
<h2 class="pm-text-md pm-weight-semibold">Sign in with a passkey</h2>
<p>Your face or finger. No password to type.</p>
</div>
</div>
</main>
<div class="pm-display-corner">
<pm-theme-switch size="sm" class="pm-site-wide" variant="toggle"></pm-theme-switch>
<pm-button size="sm" variant="ghost" tone="neutral" icon icon-start="settings" label="Display settings" commandfor="display-settings" command="--open"></pm-button>
</div>
<pm-drawer id="display-settings" heading="Display settings" description="Saved in this browser." side="end">
<pm-theme-settings></pm-theme-settings>
</pm-drawer>
With the CLI
npx @prismora/cli add coming-soon --write
Writes the page into your routes folder and both files into prismora/coming-soon/.