Earlier formats

Section templates

Ready-made navbars, heroes, pricing sections, and app screens, built only from the component set. An agent fetches one over MCP and changes the words.

A mockup of a website or an app is mostly sections people have seen before: a navbar, a hero, three pricing plans, a sign-in screen. A section template is one of those, already drawn with the component set, so an agent starts from a section that works and spends its effort on your words.

What a template isLink to this section

A template is a piece of a ui spec: a root element, the elements under it, and the state they read. It uses only components from the set, so it follows the artifact's theme, light and dark, and lays itself out by the width it is drawn at: the page, or a canvas frame. Every template keeps the same rules.

RuleWhat it means
SizeAt most 60 elements, nested at most 10 deep, so six or more fit in one spec.
ListsA list (plans, links, features) lives in the template's state and is drawn by one repeat. Change the list, not the elements.
WordsPlaceholder copy, written for this set. No company names and no real logos. The one exception is a brand mark (`brand-` icons) on a social profile button, or on a Continue with Google, Apple, or GitHub button.
MediaPlaceholder stands in for images, logos, video, and maps. A template needs no upload.
LinksLinks go nowhere, as in any mockup.
StyleOnly the component set's named steps: no CSS, no colors, no class names.

Use one over MCPLink to this section

Two read-only tools hand templates out (MCP reference). ui_templates_list returns one small row per template, all of them or only one category or kind. ui_template_get returns one template, ready to use:

ui_template_getjson
{ "id": "pricing-three-tiers", "prefix": "plans", "as": "fragment" }
What comes backjson
{ "id": "pricing-three-tiers", "prefix": "plans",
  "slots": [ { "what": "Headline", "element": "plans-title", "prop": "text" },
             { "what": "Plans, each with name, monthly and yearly price, …", "state": "/plans/plans" } ],
  "attach": "Add fragment.elements to your spec's elements, add fragment.state's one key …",
  "fragment": { "root": "plans-pricing",
                "elements": { "plans-pricing": { "type": "Box", … }, "plans-title": { "type": "Heading", … }, … },
                "state": { "plans": { "yearly": false, "plans": [ … ] } } } }
  • slots names what to change: a prop of one element, or a value in the state, such as the list a repeat draws.
  • as: "fragment" (the default) is a piece to add to a spec the agent is building. as: "spec" is a complete ui spec: save it as a ui artifact, or use it as a canvas frame's spec.
  • attach says, in one sentence, how to use what came back.

Several in one pageLink to this section

Every element key and state path of a template carries a prefix: the template's id, or the prefix the agent passes. Keys become plans-title, and the state moves under /plans. So a navbar, a hero, and a pricing section share one spec without a clash, and one template can be used twice under two prefixes. The spec form wraps the template in a root Box named page; further sections go into its children.

The templatesLink to this section

60 templates today. Each name opens the template, drawn by the same renderer an artifact uses, on the page of its category. The category is also what ui_templates_list filters by.

TemplateIdCategoryMade forElements
Navbar, links rightnavbar-basicnavbarany width15
Navbar with open mobile menunavbar-collapsiblenavbarany width16
Navbar, centered logonavbar-centered-logonavbarany width17
Navbar with mega menunavbar-mega-menunavbarany width46
Announcement bannerbanner-announcementbannerany width7
Footer, link columnsfooter-columnsfooterany width31
Footer, one rowfooter-simplefooterany width5
Footer, centered with social linksfooter-centered-socialfooterany width9
Hero, centeredhero-centeredheroany width9
Hero, media righthero-split-rightheroany width14
Hero, media lefthero-split-leftheroany width10
Hero with product shothero-product-shotheroany width10
Hero with email fieldhero-email-captureheroany width12
Hero with sign-up cardhero-signup-cardheroany width17
Call to action, centered bandcta-centered-bandctaany width7
Call to action, split cardcta-split-cardctaany width8
Call to action with email fieldcta-email-capturectaany width10
Feature grid, three columnsfeature-grid-3featureany width11
Feature cards, heading leftfeature-grid-2x2featureany width12
Feature rows, alternatingfeature-zigzagfeatureany width14
Feature checklist beside a picturefeature-list-with-imagefeatureany width11
Feature tabsfeature-tabsfeatureany width27
Feature list, heading leftfeature-heading-left-listfeatureany width11
Feature tiles, mixed sizesfeature-bentofeatureany width25
How it works, three stepsprocess-stepsprocessany width12
Numbers, four in a rowstats-rowstatsany width6
Numbers beside textstats-split-textstatsany width12
Logo rowlogos-rowlogosany width4
Pricing, three tierspricing-three-tierspricingany width17
Pricing, two tiers and enterprisepricing-two-tiers-enterprisepricingany width22
Pricing, one planpricing-single-planpricingany width14
Pricing, plans in rowspricing-plan-rowspricingany width18
Comparison, plans by featurecomparison-matrixcomparisonany width10
Questions, centeredfaq-accordion-centeredfaqany width11
Questions, heading leftfaq-two-columnfaqany width15
Questions with a contact cardfaq-contact-cardfaqany width18
Testimonial, one big quotetestimonial-single-quotetestimonialany width10
Testimonials, three cardstestimonial-grid-3testimonialany width15
Testimonials, one featured and two moretestimonial-featured-plus-cardstestimonialany width20
Team, four acrossteam-grid-4teamany width14
Team, list with biosteam-list-bioteamany width13
Blog, three cardsblog-grid-3blogany width15
Blog, featured post and listblog-featured-listblogany width16
Contact, form and detailscontact-form-infocontactany width28
Contact, cards and a mapcontact-cards-mapcontactany width15
Newsletter, one linenewsletter-inlinenewsletterany width11
Sign in, centered cardauth-sign-in-cardauthany width21
Sign in, split screenauth-sign-in-splitauthany width28
Sign up, centered cardauth-sign-up-cardauthany width16
App shell, left sidebarshell-sidebarshellany width53
Dashboard overviewdashboard-overviewdashboardany width22
Table with filterstable-filterstableany width22
Detail view with side paneldetail-side-paneldetailany width31
Settings formsettings-sectionssettingsany width28
Empty stateempty-first-itememptyany width12
Error 404error-not-founderrorany width12
Confirm dialogmodal-confirm-deletemodalany width12
Command menucommand-searchcommandany width25
Notification listnotifications-by-daynotificationsany width27
Checkout with order summarycheckout-summarycheckoutany width39