Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Marketing template

Contact

A contact form that is checked, shows who answers and how fast for each topic, asks for an invoice number when needed, and confirms with a reference.

Live preview

Full screen

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/alert'; import '@prismora/elements/button'; import '@prismora/elements/card'; import '@prismora/elements/checkbox'; import '@prismora/elements/drawer'; import '@prismora/elements/icon'; import '@prismora/elements/input'; import '@prismora/elements/list'; import '@prismora/elements/menu'; import '@prismora/elements/result'; import '@prismora/elements/select'; import '@prismora/elements/status'; import '@prismora/elements/textarea'; import '@prismora/elements/theme-settings'; import '@prismora/elements/theme-switch'; import { registerIcons } from '@prismora/elements/icon'; import { clock, mail, mapPin, menu, messageCircle, phone, send, settings, zap } from '@prismora/icons'; import { data } from './prismora/contact/data'; import { setup } from './prismora/contact/behavior'; registerIcons([clock, mail, mapPin, menu, messageCircle, phone, send, settings, zap]); setup(document.body, data); </script> <div class="pm-stack pm-gap-0"> <header class="pm-site-header"> <a href="/" class="pm-brand"> <pm-icon name="zap"></pm-icon> <span class="pm-brand-name">Lumen</span> </a> <nav class="pm-site-nav" aria-label="Main"> <a href="/">Product</a> <a href="/pricing">Pricing</a> <a href="/customers">Customers</a> <a href="/blog">Blog</a> <a href="/help">Help</a> </nav> <div class="pm-site-actions"> <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> <pm-button class="pm-site-wide" variant="ghost" tone="neutral" size="sm" href="/sign-in">Sign in</pm-button> <pm-button size="sm" href="/sign-up">Start free</pm-button> <pm-button class="pm-site-menu" variant="ghost" tone="neutral" size="sm" icon icon-start="menu" label="Menu" popovertarget="site-menu" aria-haspopup="menu"></pm-button> <pm-menu id="site-menu"> <a role="menuitem" href="/">Product</a> <a role="menuitem" href="/pricing">Pricing</a> <a role="menuitem" href="/customers">Customers</a> <a role="menuitem" href="/blog">Blog</a> <a role="menuitem" href="/help">Help</a> <hr> <a role="menuitem" href="/sign-in">Sign in</a> </pm-menu> </div> </header> <pm-drawer id="display-settings" heading="Display settings" description="Saved in this browser." side="end"> <pm-theme-settings></pm-theme-settings> </pm-drawer> <main class="pm-site-section" data-space="sm"> <div class="pm-site-intro"> <span class="pm-eyebrow">Contact</span> <h1>Talk to a person</h1> <p class="pm-lead">Tell us what you need. Your message goes to the team that can answer it.</p> </div> <div class="pm-split" data-side="end" style="--pm-side: 22rem; --pm-gap: var(--pm-space-8)"> <pm-card> <form class="pm-stack" novalidate data-ref="form"> <div class="pm-field-row"> <pm-input label="Your name" name="name" autocomplete="name" required data-ref="name"></pm-input> <pm-input label="Work email" type="email" name="email" autocomplete="email" icon-start="mail" required data-ref="email"></pm-input> </div> <pm-select label="What is it about?" name="topic" options='[{"value":"sales","label":"Talk to sales","answer":"Sales answers within one working day.","order":false},{"value":"support","label":"Help with the product","answer":"Support answers within four hours, Monday to Friday.","order":false},{"value":"billing","label":"A question about an invoice","answer":"Billing answers within one working day. Add the invoice number so we can find it.","order":true},{"value":"security","label":"Report a security problem","answer":"Security answers within two hours, every day.","order":false},{"value":"other","label":"Something else","answer":"We answer within two working days.","order":false}]' value="support" data-ref="topic"></pm-select> <pm-alert tone="info" icon="clock"> <span data-ref="answer">Support answers within four hours, Monday to Friday.</span> </pm-alert> <pm-input label="Invoice number" name="invoice" placeholder="INV-2026-11" hint="It is at the top of the invoice." data-ref="invoice" hidden></pm-input> <pm-textarea label="Message" name="message" rows="6" maxlength="2000" show-count required hint="The more detail, the faster we can help." data-ref="message"></pm-textarea> <pm-checkbox name="copy" label="Send me a copy of this message" data-ref="copy"></pm-checkbox> <div class="pm-cluster pm-justify-between"> <span class="pm-text-xs pm-muted"> We use your details only to answer you. <a href="/privacy">Privacy policy</a> </span> <pm-button type="submit" size="lg" icon-end="send" data-ref="submit">Send message</pm-button> </div> </form> <pm-result status="success" heading="Your message is on its way" heading-level="2" data-ref="done" hidden> <pm-button variant="outline" tone="neutral" data-action="again">Send another message</pm-button> <pm-button href="/help" variant="ghost" tone="neutral">Browse the help centre</pm-button> </pm-result> </pm-card> <aside class="pm-stack" aria-label="Other ways to reach us"> <pm-list bordered divided label="Other ways to reach us"> <pm-list-item icon-start="mail" heading="Email" description="[email protected]"> <span class="pm-text-xs pm-muted">Answered within four hours</span> </pm-list-item> <pm-list-item icon-start="message-circle" heading="Chat" description="In the app, bottom right"> <span class="pm-text-xs pm-muted">Monday to Friday, 08:00 to 18:00 UTC</span> </pm-list-item> <pm-list-item icon-start="phone" heading="Phone" description="+44 20 7946 0100"> <span class="pm-text-xs pm-muted">Business plan and above</span> </pm-list-item> <pm-list-item icon-start="map-pin" heading="Office" description="12 Analytical Row, London N1 9GU"> <span class="pm-text-xs pm-muted">By appointment</span> </pm-list-item> </pm-list> <pm-card size="sm"> <div class="pm-cluster"> <pm-status tone="success" pulse label="All systems are working"></pm-status> <span class="pm-spacer"></span> <a class="pm-text-sm" href="/status">Status page</a> </div> </pm-card> </aside> </div> </main> <footer class="pm-site-footer"> <div class="pm-site-footer-cols"> <div> <a href="/" class="pm-brand"> <pm-icon name="zap"></pm-icon> <span class="pm-brand-name">Lumen</span> </a> <p class="pm-muted">Roadmaps, tasks and metrics in one place, for teams that ship every week.</p> </div> <nav aria-label="Product"> <h3>Product</h3> <a href="/">Overview</a> <a href="/pricing">Pricing</a> <a href="/changelog">Changelog</a> <a href="/integrations">Integrations</a> </nav> <nav aria-label="Company"> <h3>Company</h3> <a href="/about">About</a> <a href="/customers">Customers</a> <a href="/blog">Blog</a> <a href="/careers">Careers</a> </nav> <nav aria-label="Support"> <h3>Support</h3> <a href="/help">Help centre</a> <a href="/contact">Contact</a> <a href="/status">Status</a> </nav> </div> <div class="pm-site-footer-bottom"> <span>© 2026 Lumen Labs</span> <nav aria-label="Legal" class="pm-cluster pm-gap-4"> <a href="/privacy">Privacy</a> <a href="/terms">Terms</a> <a href="/security">Security</a> </nav> </div> </footer> </div>

With the CLI

npx @prismora/cli add contact --write

Writes the page into your routes folder and both files into prismora/contact/.

With an AI agent (MCP)

scaffold_page({ pattern: "contact", framework: "html" })

Components in this template