Content
Callouts, badges, and inline elements for rich pages.
<Callout />
Typed callout — note, info, tip, warning, or check. Props: type, title, icon.
<Callout type="tip">Order before 2pm.</Callout><Note />
Note callout shorthand.
<Info />
Info callout shorthand.
<Tip />
Tip callout shorthand.
<Warning />
Warning callout shorthand.
<Warning title="Lead time">Allow two weeks for special orders.</Warning><Check />
Success callout shorthand.
<Banner />
Full-width announcement banner. Props: type (info, note, tip, warning, check, danger).
<Badge />
Small status or label badge. Props: color.
<Badge color="success">In stock</Badge><Button />
Styled link button with safe URLs. Props: href, icon, variant.
<Button href="/product" icon="shopping-bag">Shop now</Button><Icon />
An icon by name, from the store's icon set (Lucide unless the store picks another). Put a set in front of the name to use it once: lucide, tabler, fontawesome, fontawesome-regular, fontawesome-brands, phosphor, heroicons or material. The same names work in the icon prop of Card, Feature, Button and Accordion. Props: name, size, library.
<Icon name="truck" /> <Icon name="tabler:rocket" size="24" /><Tooltip />
Hover tooltip for inline hints. Props: tip (the words shown).
<Avatar />
Circular image or initials. Props: src, alt, fallback (initials shown without a picture).
<Breadcrumbs />
Hierarchical navigation trail. Without props it follows the page's place in the store. Props: items, a list written in braces: {[{label: "Home", href: "/"}, {label: "About"}]}.
<Pagination />
Previous/next page navigation. Props: page, totalPages, baseHref.
<Code />
Syntax-styled code block. Props: title, language.
<CodeGroup />
Grouped code blocks with titles.
<Socials />
The store's social links, set once (set_socials, or Design > Social links) and drawn wherever this is written: a contact page, an about page, a snippet. Each link opens in a new tab and carries the network's own mark. Props: variant (icons the default, round icon links; buttons, the mark and the network's name in a button; labels, the mark and the name as plain links), size (sm, md, lg), networks (a subset and an order, written "instagram, linkedin"; left out, every link in the store's order), label (its name for screen readers, default "Follow us"). It has no props for addresses: the links are the store's. With no links set it shows nothing.
<Socials variant="buttons" networks="instagram, linkedin" /><ContactDetails />
How to reach the store, set once (set_contact, or Design > Contact) and drawn wherever this is written: the phone number as a link that dials it, the email as a link that writes to it, the address and the opening hours on the lines they were written in. Props: show (a subset and an order, written "phone, email"; left out, everything that is set, from phone, email, address, hours), layout (stack the default, one under another; row, side by side), title (a heading above them). With nothing set it shows nothing.
<ContactDetails title="Get in touch" show="phone, email, hours" layout="row" /><Form />
A form a visitor fills in and sends: a contact form, a quote request, a newsletter sign-up. Each message arrives in the dashboard under Customers > Messages, is emailed to the store's team (who can reply straight to the visitor) and is told to webhooks as form.submitted. Props: name (required; lowercase letters, digits and dashes, used once on the page; messages are filed under it), title, text (a sentence under the title), submitLabel (default "Send"), success (the words shown after sending). It holds only <Field /> items, up to 30, each with name (required, used once in the form), label, type (text the default, email, phone, number, textarea, select, combobox, radio, checkbox, checkboxes, switch, date, slider), required (written bare), placeholder, help (a line under the field), options (a list in braces, needed by select, combobox, radio and checkboxes), min, max and step (number and slider), width (full the default, half to sit two side by side). There is no prop for where a message goes and no file or hidden field. The draft preview draws the form but does not send.
<Form name="contact" title="Talk to sales" submitLabel="Send" success="Thanks. We reply within a day.">
<Field name="name" label="Your name" required />
<Field name="email" type="email" label="Work email" required />
<Field name="topic" type="select" label="Topic" options={["Quote", "Account", "Other"]} />
<Field name="message" type="textarea" label="Message" required />
<Field name="consent" type="checkbox" label="You may contact me about this." required />
</Form>