CSS framework classes
Tier 1 — every pattern expressible in pure HTML and CSS: its partial, its representative classes, and whether it is config-authored.
Tier 1 is every pattern expressible in pure HTML and CSS, built on modern platform features — Anchor Positioning, Popover, Invoker Commands, <details>, subgrid, container queries, scroll-driven animations. Reach here before anything else.
A config-authored pattern comes from patterns.items in your design system, so it gets the full token cascade — base declarations, states, role variants and --<prop>-<pattern> override hooks. Everything else is a structural partial with none of those. SeeComponent patterns for how that cascade resolves.
Classes shown are representative. The framework's vocabulary is defined by naming rules, not a list — see theclass vocabulary for the full grammar, and the Patterns page for live demos.
badge
- Partial
patterns/tag.css- Classes
badge,badge-indicator- Config-authored
patterns.items.badge- Recommended call
.badge— a STATIC label. Usetagif it is dismissable or editable.- Also in
- EmDash
banner
- Partial
patterns/banner.css- Classes
banner,banner__content,banner__action- Config-authored
patterns.items.banner- Recommended call
.banner; wrap in<wc-dismissable>for a close button that works.- Also in
- EmDash
breadcrumbs
- Partial
patterns/breadcrumbs.css- Classes
breadcrumbs- Config-authored
- none
- Recommended call
<Breadcrumbs items={[{ label, href }, …, { label }]} />. The last item is the current page (aria-current, never a link). Emits theBreadcrumbListJSON-LD from the same items unlessschema={false}. Hand-written:<nav aria-label="Breadcrumb" class="breadcrumbs"><ol><li>…. No JS.- Also in
- Astro
btn
- Partial
- none
- Classes
btn- Config-authored
patterns.items.btn- Recommended call
<button>gets it with no class;.btncarries it to other tags.fill: false, so states drivecolor.- Also in
- EmDash
callout
- Partial
patterns/callout.css- Classes
callout,callout__body,callout__title,callout__text,callout__actions,callout--center- Config-authored
- none
- Recommended call
.callout.tonewith a.callout__bodyand.callout__actions. A call-to-action band that stays on the page — NOTbanner, which is a dismissible announcement.- Also in
- EmDash
card
- Partial
patterns/card.css- Classes
card,card__title- Config-authored
patterns.items.card- Recommended call
<Cards>— it emits<wc-cards>itself, so do NOT add your own wrapper.<Subgrid>is the same grid without the click enhancement.- Also in
- Web component, Astro, EmDash
carousel
- Partial
patterns/carousel.css- Classes
carousel,carousel__track,carousel__slide,carousel__media,carousel__hint- Config-authored
patterns.items.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
- Web component, Astro, Bricks, EmDash
centered
- Partial
layout.css- Classes
centered,spotlight,breakout,fullbleed- Config-authored
- none
- Recommended call
.centeredas a track grid. Children land inmeasure— give it a track child to lay out inside.- Also in
- Bricks
cluster
- Partial
patterns/cluster.css- Classes
cluster,cluster-between,cluster-start- Config-authored
- none
- Recommended call
.clusterplus an alignment variant.- Also in
- this tier only
code
- Partial
patterns/code.css- Classes
- none
- Config-authored
- none
- Recommended call
- Element selectors on
pre/code; no class needed. - Also in
- this tier only
color-scheme-toggle
- Partial
patterns/icon.css- Classes
- none
- Config-authored
- none
- 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
- Web component, Bricks
combobox
- Partial
patterns/combobox.css- Classes
combobox,combobox__input,combobox__listbox,combobox__option,combobox__empty- Config-authored
patterns.items.combobox- Recommended call
<Combobox name inputId options={[…]} />with your own<label for>. With no JS it is an<input list>+<datalist>: native autocomplete. What is typed is what is submitted, so it suggests and does not constrain; use<select>for a closed set. Do NOT wrap it in<wc-combobox>: it emits its own. By hand:<wc-combobox class="combobox"><input class="combobox__input" list="x"><datalist id="x">…</datalist></wc-combobox>.- Also in
- Web component, Astro
comment
- Partial
patterns/comment.css- Classes
comment,comment__author,comment-thread- Config-authored
patterns.items.comment- Recommended call
.commentinside.comment-thread.- Also in
- this tier only
consent
- Partial
patterns/consent.css- Classes
consent,consent__body,consent__options,consent__actions- Config-authored
- none
- Recommended call
<CookieConsent />. Its own Lit-free bundle so a site needing consent does not download a rendering framework.- Also in
- Web component, Astro
contrast-toggle
- Partial
patterns/contrast-toggle.css- Classes
contrast-toggle- Config-authored
- none
- Recommended call
<ContrastToggle />— it emits<wc-contrast-toggle>itself, so do NOT add your own wrapper. Setsite.accessibility.contrastToggle: trueso a baseline contrast miss warns instead of failing the build (the generated[data-contrast="more"]layer is the conforming version it switches to).- Also in
- Web component, Astro
copy
- Partial
patterns/copy.css- Classes
copy,copy__button,copy__icon,copy__tooltip- Config-authored
- none
- 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
- Web component, Bricks, EmDash
counter
- Partial
patterns/counter.css- Classes
counter,counter__value,counter__presentation- Config-authored
- none
- Recommended call
<Counter value="94%" />— it emits<wc-counter>itself, so do NOT add your own wrapper. The final value is parsed from the fallback text, never passed separately.- Also in
- Web component, Astro, EmDash
cta
- Partial
- none
- Classes
cta,cta-danger- Config-authored
patterns.items.cta- Recommended call
.ctaon any element — usually<a>, since a CTA navigates. Filled, with role variants.- Also in
- EmDash
details
- Partial
patterns/details.css- Classes
details,details-trigger,details-icon- Config-authored
patterns.items.details- Recommended call
<Details>— or hand-write<details>. No JS at either tier;::details-contentanimates in CSS.- Also in
- Astro, EmDash
dialog
- Partial
patterns/dialog.css- Classes
dialog__header,dialog__body,dialog__footer- Config-authored
patterns.items.dialog- Recommended call
- Native
<dialog>plus the.dialog__*parts. No JS beyondshowModal(). - Also in
- this tier only
dismissable
- Partial
patterns/banner.css- Classes
banner__close,notification__close- Config-authored
- none
- Recommended call
<wc-dismissable>around any banner/notification containing a[data-dismiss]control.- Also in
- Web component, Bricks, EmDash
drawer
- Partial
patterns/drawer.css- Classes
drawer,drawer--start,drawer--end- Config-authored
patterns.items.drawer- Recommended call
<Drawer>—<dialog class="drawer">plus an Invoker Commands trigger. No JS.- Also in
- Astro
dropdown
- Partial
patterns/dropdown.css- Classes
dropdown--show-on-hover- Config-authored
patterns.items.dropdown- Recommended call
- Not a component: a dropdown is the native Popover API plus anchor positioning. A trigger with
popovertarget, a[popover]panel, andanchor-name/position-anchor(<Popover anchorName positionArea>sets them). Add.dropdown--show-on-hoverto the wrapper to reveal on hover as well as click. The.dropdown-trigger/.dropdown-menu/.dropdown-iconhelpers live inpatterns/nav.css. - Also in
- this tier only
embed
- Partial
patterns/embed.css- Classes
embed,embed__frame,embed__placeholder- Config-authored
- none
- Recommended call
.embedaround an<iframe class="embed__frame" data-consent="marketing" data-consent-src="…">with NOsrc, and a.embed__placeholder. The consent runtime assigns the address after the grant; the placeholder holds a real link. Never give the iframe a livesrc.- Also in
- EmDash
entries
- Partial
patterns/entries.css- Classes
entries__table,entries__scroll,entries__nav- Config-authored
- none
- 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
- Web component, Astro, Bricks, EmDash
field
- Partial
patterns/forms.css- Classes
field,field__control,field__label,field__help,field__error,field__counter- Config-authored
- none
- Recommended call
<Field label help error optional><input name … /></Field>: the label nests the control, so noid/foris needed. With no JS it is a labelled control and a servererroris already under it. It is not form-associated: the native control still submits, validates and takes focus. Do NOT wrap it in<wc-field>: it emits its own. By hand:<wc-field class="field"><label class="field__control"><span class="field__label">Name</span><input name="n"></label><small class="field__help">…</small></wc-field>. Use.form-groupfor a field whose label and control are siblings.- Also in
- Web component, Astro
forms
- Partial
patterns/forms.css- Classes
form-group,input-group,fieldset,custom-check- Config-authored
patterns.items.forms- Recommended call
- Wrap text controls in
.form-groupor.input-group— a bare<input>gets browser defaults. For a contact or enquiry form use<ContactForm />(name, email, phone, message, orfields={[{ label, type, required }]}): a real<form method="post">tocreateConversionRoute()with the honeypot and, whensite.security.turnstile.siteKeyis set, Turnstile. Do not hand-write that form: the route drops a field namedphone(it is the tel-click payload) and treatswebsite/honeypotas bot traps, and<ContactForm>submits a phone astel. In EmDash,vitops_formis the same form with editor-defined fields. - Also in
- Astro, EmDash
gallery
- Partial
patterns/gallery.css- Classes
gallery,gallery__item,gallery__trigger,gallery__thumb- Config-authored
patterns.items.gallery- Recommended call
<Gallery images={…} label="…" />— it emits<wc-gallery>wrapping a<Carousel />(which emits its own<wc-carousel>) itself, so do NOT add your own wrapper around either. Each thumbnail is a plain<a href="#slide-id">into the carousel's own<li id="slide-id">inside a single<dialog class="lightbox-dialog">(seelightbox), so it is a working modal lightbox — WITH prev/next — before any script runs. Stepping between images is the carousel's job, not the gallery's.- Also in
- Web component, Astro, EmDash
grouped
- Partial
patterns/grouped.css- Classes
group,group-inline,bordered- Config-authored
- none
- Recommended call
.group-inline/.group-blockto join adjacent controls.- Also in
- this tier only
horizontal-scroll
- Partial
patterns/horizontal-scroll.css- Classes
horizontal-scroll- Config-authored
- none
- Recommended call
.horizontal-scrollfor a snap strip.- Also in
- this tier only
icon
- Partial
patterns/icon.css- Classes
icon,icon-button,icon-mask- Config-authored
- none
- Recommended call
<Icon name="menu" />. Names are semantic and resolve per configured set; a name containing:passes through.- Also in
- Astro, Bricks
image-compare
- Partial
patterns/splitter.css- Classes
image-compare,image-compare__before,image-compare__handle- Config-authored
- none
- Recommended call
<wc-image-compare>with two images. Both are visible without JS.- Also in
- Web component, Bricks, EmDash
lightbox
- Partial
patterns/lightbox.css- Classes
lightbox-dialog,lightbox-dialog__track,lightbox-dialog__close- Config-authored
patterns.items.lightbox- Recommended call
- The single
<dialog class="lightbox-dialog">a gallery opens — it wraps ONE.carousel(lightbox-dialog__track) of every image, not one dialog per image. Usegalleryfor the thumbnail grid that drives it —<Gallery />emits both, and the carousel inside already owns prev/next/dots/keys/swipe. - Also in
- this tier only
link
- Partial
patterns/anchor-link.css- Classes
link,skip-link,stretched-link,raised- Config-authored
patterns.items.link- Recommended call
<a>gets it at zero specificity;.linkfor other tags..stretched-linkmakes one link cover its positioned ancestor (whole-card click, no JS — but the card text stops being selectable);.raisedlifts content back above that overlay.- Also in
- EmDash
list
- Partial
patterns/list.css- Classes
facet-list,filtered-list- Config-authored
patterns.items.list- Recommended call
.facet-list/.filtered-list.- Also in
- this tier only
logos
- Partial
patterns/logos.css- Classes
logos,logos__item,logos__name,logos--grayscale- Config-authored
- none
- Recommended call
<ul class="logos">of.logos__itemimages (alt text = the name), or.logos__nametext when there is no image. A still grid;marqueeis the scrolling version.- Also in
- EmDash
marquee
- Partial
patterns/marquee.css- Classes
marquee,marquee__content,marquee__item- Config-authored
- none
- Recommended call
<Marquee>around one.marquee__content, or<wc-marquee>by hand. Scrolls via CSS alone; JS only removes the seam.- Also in
- Web component, Astro, EmDash
masonry
- Partial
patterns/masonry.css- Classes
masonry,masonry__item- Config-authored
- none
- Recommended call
.masonry— CSS columns based.- Also in
- this tier only
masthead
- Partial
patterns/masthead.css- Classes
masthead,masthead--sticky,masthead--glass,masthead--floating- Config-authored
- none
- Recommended call
<Masthead config={site}>fromsite.chrome.masthead(positionstatic|sticky|fixed, surfacesolid|glass|transparent, layoutfull|inset|floating,insetandheightlengths — fluid ones likeclamp(3.5rem, 8cqi, 4.5rem)are fine — elevation shadow/border, andstates: a partial look per scroll state —atStart,atEnd,scrollingToEnd,scrollingToStart, later wins, animated — takinglayout,height,inset,surface,elevation(orfalse) andhidden; e.g. a full-width banner at the top that floats once scrolled, a bar hidden until first scroll, hide-on-scroll). A prop overrides one field for a layout. A state that hides the bar at the start, or changes its size or layout, makes itfixed. Slotsbrand(default:organization.logolinked tobrandHref,logo={false}to omit), default (the<SiteNav>),actions. Pure CSS: states arescroll-state()queries that only override a settled bar, so a browser without them (Firefox today) shows a visible, solid, elevated one. It never takesrole="banner": a body-level<header>already is the landmark, and.bannermeans the announcement bar.- Also in
- Astro
media
- Partial
patterns/media.css- Classes
media,media__figure,tile- Config-authored
- none
- Recommended call
.mediafor a figure/body pair;.tilefor the stacked form.- Also in
- this tier only
multi-field
- Partial
patterns/forms.css- Classes
form-group,input-group,fieldset- Config-authored
- none
- 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
- Web component, Bricks
nav
- Partial
patterns/nav.css- Classes
menu,navbar,nav-collapse,drawer-nav,dropdown-trigger,dropdown-menu,dropdown-icon- Config-authored
patterns.items.nav- Recommended call
.menu/.navbar. Seenavbarandnavshellfor the newer shells.- Also in
- this tier only
navbar
- Partial
patterns/navbar.css- Classes
navbar,navbar--sticky,nav-items- Config-authored
- none
- Recommended call
.navbarwith--start/--center/--end.- Also in
- this tier only
navshell
- Partial
patterns/navshell.css- Classes
navshell,navshell__bar,navshell__panel,navshell-toggle- Config-authored
- none
- Recommended call
<NavShell>with anavslot, plus<NavShellToggle>if the toggle must live outside the shell.- Also in
- Astro
notification
- Partial
patterns/notification.css- Classes
notification,notification__title,notification__actions- Config-authored
patterns.items.notification- Recommended call
<Notifications />once per layout, in the same place on every page; it emits its own<wc-notifications>, so do NOT wrap it. Show one withelement.show({ message, title?, tone?, duration?, actions? })ordocument.dispatchEvent(new CustomEvent("vitops:notify", { detail })). A server-rendered<div class="notification" role="status">inside it is the no-JS fallback and is adopted into the stack on upgrade.toneisinfo,success,warningordanger. For something the visitor must act on use a banner or a dialog, not this; for one message that closes itself without a stack use.notificationin<wc-dismissable>.- Also in
- Web component, Astro
overlay
- Partial
patterns/overlay.css- Classes
overlay- Config-authored
- none
- Recommended call
.overlayfor a scrim.- Also in
- this tier only
popover
- Partial
patterns/popover.css- Classes
popover,popover-trigger,popover-anchor- Config-authored
patterns.items.popover- Recommended call
<Popover>— native Popover API + CSS Anchor Positioning. No JS.- Also in
- Astro
pull-quote
- Partial
patterns/pull-quote.css- Classes
pull-quote,pull-quote__attribution- Config-authored
patterns.items.pull-quote- Recommended call
.pull-quote. Note the type rolequoteis separate. In EmDash,vitops_testimonialis a quote with attribution and optional stars; itsReviewJSON-LD is opt-in, because Google ignores reviews a business writes about itself.- Also in
- EmDash
range
- Partial
patterns/range.css- Classes
range,range--dual,range__track- Config-authored
- none
- Recommended call
- A single slider needs no element: a bare
<input type="range">is themed byforms.css(accent-color). For its value shown, or for two thumbs, use<Range name label min max value output />or<Range names labels values />: with no JS those are native range inputs (two submit as two fields). Every input needs a label. Do NOT wrap it in<wc-range>: it emits its own. - Also in
- Web component, Astro
reveal
- Partial
patterns/reveal.css- Classes
reveal,reveal-fade,reveal-h- Config-authored
- none
- Recommended call
.reveal— scroll-driven, no JS..reveal-hanimatesheight: autothrough the page-wideinterpolate-size(set on:rootby the animation engine).- Also in
- this tier only
review
- Partial
patterns/review.css- Classes
review,review__stars,review__body,review__reply,review__source- Config-authored
patterns.items.review- Recommended call
<ReviewCard review={…} />— one card, fromvitops reviews'.vitops/reviews.jsoncache. Put several inside<Carousel>slides or<Marquee>items; there is no group component and nowc-review. In EmDash,vitops_reviewsis that whole row: it reads the cache as a build-time import (virtual:getvitops/reviews, served byvitops(); empty when the file is absent), picks reviews withselectReviews(), and lays them out as a grid, carousel or marquee. A new review appears aftervitops reviewsis re-run, committed and the site rebuilt.- Also in
- Astro, EmDash
scroll-based
- Partial
patterns/scroll-based.css- Classes
parallax,scroll-progress,scroll-spy- Config-authored
- none
- Recommended call
- Scroll-timeline driven; no JS.
- Also in
- this tier only
scroll-button
- Partial
patterns/scroll-button.css- Classes
back-to-top,scroll-cue,scroll-cue__end- Config-authored
- none
- Recommended call
<BackToTop />(orsite.chrome.backToTop, rendered by<SiteFooter config>) for a floating link that shows once the page has scrolled;<ScrollCue />as the LAST child of aposition: relativehero, a chevron to the end of that section that hides once scrolling starts. Plain<a href="#…">; hiding is ascroll-state()query, so a browser without it (Firefox today) shows both always. The hero block has ascrollCuetoggle.- Also in
- Astro
scroll-edges
- Partial
patterns/scroll-edges.css- Classes
scroll-edges,scroll-edges__start,scroll-edges__end- Config-authored
- none
- Recommended call
<ScrollEdges>(or.scroll-edgeswith the twoaria-hidden.scroll-edges__start/__endchildren by hand) for a horizontally scrolling strip that fades at an edge while there is more that way. The scroll-state vocabulary is the masthead's (at-start,at-end) on the inline axis; hooks--scroll-edges-fade,--scroll-edges-bg,--scroll-edges-<state>-fade-opacity.scroll-state()cannot style the scroller itself, so the fades are sticky child elements. Without it (Firefox today) both fades stay on. Give a strip with nothing focusable in itfocusable+ alabel.- Also in
- Astro
scroll-target
- Partial
patterns/scroll-target.css- Classes
scroll-target-group,toc-sidebar- Config-authored
- none
- Recommended call
<Toc headings={headings} />(Astro'sMarkdownHeading[]) or.scroll-target-groupby hand. The current section is:target-currentwherescroll-target-groupexists (Chromium); elsewherepolyfills.jsloads an IntersectionObserver that sets.is-current+aria-current="location".- Also in
- Astro
section
- Partial
patterns/section.css- Classes
section,section__head,section__kicker,section__title,section__sub,section__body,section--split,section--center,section--backdrop,section__backdrop,block-anchor- Config-authored
- none
- Recommended call
.section.region>.centered>.section__innerholding.section__head(kicker, heading, sub) and.section__body..section--splitputs the head beside the body when wide..section--backdropwith a.section__backdropimage puts a decorative photo behind the band, darkened by the tone solid. In EmDash it is a block TYPE (vitops_section) with a Portable Text body that accepts any other block — seevitopsBlockTypes(). In a Portable Text field, where a block cannot hold blocks,vitops_bandis a marker that opens a section around the blocks after it; render the field with<VitopsContent>(@getvitops/emdash/astro).- Also in
- EmDash
separator
- Partial
patterns/separator.css- Classes
separator,separator__text,separator__ornament- Config-authored
- none
- Recommended call
.separator, optionally with text or an ornament.- Also in
- this tier only
sitenav
- Partial
patterns/sitenav.css- Classes
sitenav,sitenav__link,sitenav--drawer-start,sitenav--panel-dropdown,sitenav--mega,navlist,navlist--columns- Config-authored
- none
- 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
- Astro, Bricks, EmDash
split
- Partial
layout.css- Classes
split,split-1-2,split-reverse- Config-authored
- none
- Recommended call
.splitplus a ratio class. Pure CSS;md-split-1-2for the responsive form.- Also in
- Bricks, EmDash
split-link
- Partial
patterns/split-link.css- Classes
split-link,split-link__toggle,split-link__panel- Config-authored
- none
- Recommended call
.split-link— a link plus a disclosure toggle. No JS.- Also in
- Bricks
split-panel
- Partial
patterns/splitter.css- Classes
splitter,splitter__panel,splitter__handle- Config-authored
- none
- Recommended call
<wc-split-panel>with two children. Unenhanced they simply stack.- Also in
- Web component, Bricks
stack
- Partial
patterns/stack.css- Classes
stack,stack__card- Config-authored
- none
- Recommended call
.stackfor overlapping cards.- Also in
- this tier only
stats
- Partial
patterns/stats.css- Classes
stats,stats__item,stats__figure,stats__label,stats__group,stats__delta,stats--tiles- Config-authored
- none
- Recommended call
<ul class="stats">of.stats__item, each figure a<Counter>..stats--tilesadds.stats__groupand.stats__delta;data-state="up|down"colours the delta through the success/danger roles.- Also in
- EmDash
status
- Partial
patterns/tag.css- Classes
status,status-dot--pulse- Config-authored
patterns.items.status- Recommended call
.statuswith a role variant.- Also in
- this tier only
stepper
- Partial
patterns/stepper.css- Classes
stepper,stepper__item,stepper__item--complete,stepper__item--invalid,stepper__actions- Config-authored
- none
- Recommended call
<Stepper steps>around one<form>of<section id data-step><h2>…</h2>…</section>s: with no JS a complete long form with#anchorlinks, with JS one step at a time.<StepperNav steps current status hrefFor>is the same.stepperlist for a flow where each step is its own page (no JS at all). Do NOT wrap<Stepper>in<wc-stepper>: it emits its own. Its own Lit-free bundle (@getvitops/core/stepper, ~1 KB gzipped), outsideelements.js.- Also in
- Web component, Astro
steps
- Partial
patterns/steps.css- Classes
steps,steps__item,steps__body,steps__title,steps__text,steps--row,steps--cards,steps--animated- Config-authored
patterns.items.steps- Recommended call
<ol class="steps tone">of<li class="steps__item">each holding a.steps__bodywith a real heading. The number is a CSS counter and the connector line a pseudo-element;.steps--rowruns it sideways when wide;.steps--cardsputs each step in a card and.steps--animateddraws the connector on scroll. The marker size and card geometry are thestepsentry ofpatterns.items(--steps-marker-size, thecontentgroup tokens).- Also in
- EmDash
sticky
- Partial
patterns/sticky.css- Classes
sticky,sticky-header,sticky-nav- Config-authored
- none
- Recommended call
.sticky-headeretc. Pure CSS.- Also in
- this tier only
subgrid
- Partial
patterns/subgrid.css- Classes
subgrid,subgrid-card,pricing-grid- Config-authored
- none
- Recommended call
<Subgrid>— emits<ul class="subgrid" role="list">; author<li class="card subgrid-card">items yourself, so tranches align across the set.- Also in
- Astro, EmDash
svg
- Partial
patterns/svg.css- Classes
svg-container,svg-shape,svg-animated- Config-authored
- none
- Recommended call
.svg-*helpers for inline SVG.- Also in
- this tier only
table
- Partial
patterns/table.css- Classes
table,table-wrapper- Config-authored
patterns.items.table- Recommended call
.tableinside.table-wrapper. Seeentriesfor the responsive-to-table pattern.- Also in
- this tier only
tabs
- Partial
patterns/tabs.css- Classes
tabs,tabs__list,tabs__tab,tabs__panel,tabs--vertical- Config-authored
patterns.items.tabs- Recommended call
<Tabs items={[{ label, body }]} />, or<Tabs>around your own<section><h3>…</h3>…</section>panels. With no JS every panel is readable under its heading.orientation="vertical"runs the list down the side;hashwrites the selected panel into the URL;selectedsets the first tab. Do NOT wrap it in<wc-tabs>: it emits its own. By hand:<wc-tabs class="tabs">around<section>s that each open with a heading.- Also in
- Web component, Astro, EmDash
tag
- Partial
patterns/tag.css- Classes
tag,tag__remove,tag__icon,tag-list- Config-authored
patterns.items.tag- Recommended call
.tag— an editable/dismissable label. Its group islabel, nottag.- Also in
- this tier only
text-effects
- Partial
patterns/text-effects.css- Classes
typing,text-highlight,text-gradient-animate,text-stagger- Config-authored
- none
- Recommended call
.typing,.text-highlight, … CSS animation only.- Also in
- this tier only
theme-editor
- Partial
patterns/theme-editor.css- Classes
ed-panel,ed-launch,ed-input- Config-authored
- none
- Recommended call
<wc-theme-editor manifest="…">. TOOLING, not a page pattern — the one deliberate tier-2 exception, quarantined in its own opt-in bundle.- Also in
- Web component
tone
- Partial
patterns/tone.css- Classes
tone,tone--solid,accent- Config-authored
- none
- Recommended call
- Add
.toneand set--tone-bg/--tone-fg/--tone-border/--tone-solid/--tone-on-solidas custom properties — never a class built from a value, which Tailwind cannot see.@getvitops/emdash'sresolveTone(tone, color)writes them: role, then semantic fallbacks, thenneutral, or a palettecolorescape hatch..accentcolours a run inside a heading. - Also in
- this tier only
tooltip
- Partial
patterns/tooltip.css- Classes
tooltip-trigger,tooltip--toggle- Config-authored
patterns.items.tooltip- Recommended call
<Tooltip id label>text</Tooltip>for what a control does,<Tooltip toggle>for a "?" that reveals more than a phrase (touch and screen readers). Not an element: the markup is.tooltip-trigger+ a.tooltippopover, linked bypopovertarget(the no-JS click toggle), anddeferred.jsadds hover, keyboard focus and Escape, a per-pair anchor,role="tooltip", andaria-describedby(plain) oraria-expanded(toggletip).- Also in
- Astro
tree
- Partial
patterns/tree.css- Classes
tree,tree__item,tree__content,tree__summary,tree__toggle,tree__label- Config-authored
patterns.items.tree- Recommended call
<Tree items={…} />— it emits<wc-tree>itself, so do NOT add your own wrapper. In EmDash,vitops_treetakes an indented outline (one node per line, indent to nest,| badgefor a chip) and builds the tree from it; it never setsdescriptionHtml.- Also in
- Web component, Astro, EmDash
turnstile
- Partial
patterns/forms.css- Classes
form-group- Config-authored
- none
- Recommended call
<wc-turnstile sitekey="…">inside a<form>, around a paragraph saying the spam check needs JavaScript. Pair it withcreateConversionRoute({ turnstile }); thevitops_formblock does both.- Also in
- Web component, EmDash
widget-area
- Partial
patterns/widget-area.css- Classes
widget-area,widget__title,widget__menu- Config-authored
- none
- Recommended call
- Editor-managed regions:
<VitopsWidgetArea name="footer-columns" />(@getvitops/emdash/astro) renders an area from Widgets in the admin — titled groups, a menu as a labelled<nav>, content as Portable Text. In a page, thevitops_widgetAreablock places one. An area holding acore:*component widget falls back to EmDash's own renderer, and an area cannot hold another. Prerendered pages show an edit after the next deploy. - Also in
- EmDash