Bricks elements
Tier 3 on Bricks — the custom Bricks Builder elements, and which framework pattern each one is.
Tier 3 ships the same patterns as custom Bricks Builder elements, so a WordPress site builds from the design system through the builder UI rather than by hand-writing markup.
Tier 3 has two platforms and these are one of them — theAstro components are the other, at the same tier rather than below it. Both generate HTML from the classes and elements of tiers 1 and 2; which you use is decided by your platform, and no project uses both.
Prefer the framework's classes over hand-tuning Bricks' own property controls.A class encodes the tokens, the spacing grammar and the interaction states, so it stays consistent and reacts to theme and dark mode; a value typed into a property control is a one-off that drifts from the system and doesn't. Reserve those for genuinely bespoke, one-element cases.
Bricks provides some of the system natively — its Color, Font, Spacing and Typography managers — so those layers are delivered as JSON to import rather than as CSS. SeeOutput formats for what thebricks format emits.
vitops-carousel
- Pattern
carousel- Recommended call
<Carousel slides={…} label="…" />— it emits<wc-carousel>itself, so do NOT add your own wrapper..carouselis the shell and.carousel__trackthe scroller; addloopfor the cloned infinite strip (autoplayimplies it).- Also in
- CSS, Web component, Astro, EmDash
vitops-centered
- Pattern
centered- Recommended call
.centeredas a track grid. Children land inmeasure— give it a track child to lay out inside.- Also in
- CSS
vitops-color-scheme-toggle
- Pattern
color-scheme-toggle- Recommended call
<wc-color-scheme-toggle></wc-color-scheme-toggle>. Renamed from<color-scheme-toggle>in 4.0. Shadow DOM, so it is absent rather than broken without JS.- Also in
- CSS, Web component
vitops-copy-button
- Pattern
copy- Recommended call
<wc-copy value="…">around the text to copy; the element renders its own button and announces "Copied" or "Copy failed" (copied-label/failed-labelset the words).- Also in
- CSS, Web component, EmDash
vitops-dismissable
- Pattern
dismissable- Recommended call
<wc-dismissable>around any banner/notification containing a[data-dismiss]control.- Also in
- CSS, Web component, EmDash
vitops-entries
- Pattern
entries- Recommended call
<Entries entries={[{ heading, pairs: [{ term, value }] }]} />— it emits<wc-entries>itself, so do NOT add your own wrapper. By hand:<wc-entries>around<h3>+<dl>pairs. The tier-2 exemplar: semantic pairs with no JS, a table with it.- Also in
- CSS, Web component, Astro, EmDash
vitops-icon
- Pattern
icon- Recommended call
<Icon name="menu" />. Names are semantic and resolve per configured set; a name containing:passes through.- Also in
- CSS, Astro
vitops-image-compare
- Pattern
image-compare- Recommended call
<wc-image-compare>with two images. Both are visible without JS.- Also in
- CSS, Web component, EmDash
vitops-multi-field
- Pattern
multi-field- Recommended call
<wc-multifield name type placeholder min max protect-defaults>around the field(s) to repeat (each child is an entry), or around.field__row<details>fieldsets (whatrenderProjectionHtmlwrites for a keyed map: the last row blank, so with no JS filling it in adds an entry and emptying a row's key drops it). Light DOM: every control is native and submits with the form. Eventsmulti-field-change|add|delete|clear.- Also in
- CSS, Web component
vitops-sitenav
- Pattern
sitenav- Recommended call
.sitenavwith--bp-*and a drawer direction.<details>+ Invoker Commands, no JS. In Astro:<SiteNav {...await loadNavMenus(getMenu)} />renders EmDash menuprimary(the default: dropdowns frommd, drawer below) and, if they exist,primary-mobile(depth-1 nav belowmd) andprimary-mega(mega panels fromxl) — adding the menu in the admin is the whole change. An item'stitleAttris its description. Per-site behaviour lives insite.chrome.nav—<SiteNav {...nav} {...resolveNavOptions(site)} />setscompact(drawer|dropdown: an anchored, columnar panel under the toggle),drawerSide, the breakpoints and depths. For a mega panel's featured column passmegaPanel={VitopsMegaPanel}(@getvitops/emdash/astro): it renders the widget areamega-<item slug>(or the item'smega-area:<name>class) and nothing when there is none.<SiteFooter sitemap legal name config={site}>rendersfooter-sitemap+footer-legal+ the copyright line, plusorganization.logoand a contact column (address, tel:/mailto: links, one location's hours, profile links) from the same config: nothing to hand-write,contact={false}/logo={false}to omit, abrandslot to replace the logo,locationto pick whose hours. For a menu inside page content (a site map, a section's links, footer-style columns) use.navlist— plain nested lists,--inline/--columns— or, in EmDash, thevitops_navblock (menu, layoutlist|inline|columns|sitenav, depth 1–3, heading, tone). Name each<nav>uniquely: the header isPrimaryand the footerSite map/Legal, and the block never reuses those.- Also in
- CSS, Astro, EmDash
vitops-split
- Pattern
split- Recommended call
.splitplus a ratio class. Pure CSS;md-split-1-2for the responsive form.- Also in
- CSS, EmDash
vitops-split-link
- Pattern
split-link- Recommended call
.split-link— a link plus a disclosure toggle. No JS.- Also in
- CSS
vitops-split-panel
- Pattern
split-panel- Recommended call
<wc-split-panel>with two children. Unenhanced they simply stack.- Also in
- CSS, Web component
Controls, defaults, seeded children and keywords for each element are in the generatedBricks elements reference.