Example#
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Lighthouse
- 95+
Usage#
Use a spec strip for two to four short facts a buyer checks first, side by side: timeline, quote, warranty. It is a description list; PageHero uses it under its keys.
- Values print in the row title role, or as a numeral with
numeric; anhrefmakes a value a link. - Layout. One row from md, a 2 × 2 grid below; pairs like "Name 19" and hyphenated words never break.
- More than four facts, or facts that need a sentence, belong in a table or a list.
Anatomy#
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Lighthouse
- 95+
- Cell
data-mk-part="cell" - LabelLabel role.
.mk-spec-strip-label - ValueRow title, or a numeral.
.mk-spec-strip-value
Volume#
Reading layer: identical at every volume.
Quiet
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Lighthouse
- 95+
Studio
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Lighthouse
- 95+
Press
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Lighthouse
- 95+
Rave
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Lighthouse
- 95+
Content#
- Labels are one word or two: "Timeline", "Quote".
- Values are short and exact: "2 to 6 weeks", "Fixed", "95+".
Do and don't#
Do
- Timeline
- 2 to 6 weeks
- Quote
- Fixed
- Warranty
- 2 months
Don't
- Timeline
- Depends on the project
- Quote
- Let's talk
- Warranty
- Yes
Accessibility#
- A
<dl>: each term is read before its value. - Hyphenated words and "Name 19" pairs never break.
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
items required | readonly SpecStripItem[] | none |
Tokens#
System tokens (8)
Its own properties (1)
--mk-spec-strip-count
Changelog#
Arrived in 0.1.0.
Sectionwith its plate andArtslot,Plate,VolumeScope,PageHero,SectionHead,Eyebrow,Card,LineCard,InfoPanel,Stack,Cluster,Grid,Container,Main,Ruleand theFittedLineclient fitter;Navbarwith theNavDisclosuremega panels,Footer,FooterMap,BuildStamp,SkipLink,ActionDockandVisitorControls; theTableparts,ComparisonTablewith the one-tier switcher,SpecStrip,Numeral,Stat,StatGroup,StatusChip,BadgeandScoreDial;ProsewithmdxComponents,Quote,CodeBlockwithCopyButton,Figure,ScreenshotFrameandPhoneFrame; and the brand: the three evolved 2 × 2 options inmarkGeometry(a Overprint by default, b Paper seam, c Key block) with the pixel-snappedpxmode and the one-ink seam variant,logoGeometrywith the 1x clear-space frame,Mark,Wordmark,Logo,MaxosMarkandLineBadge. Read the whole entry- React: the label role (14 px, now 600) prints in
--mk-textin Eyebrow, the Card and PageHero eyebrows, SpecStrip labels, the stacked table's cell headers, the Navbar panel's meta and the NavSheet group titles, because no secondary ink reaches the label's floor; placeholders, input start and end text and the select's empty choice print in the new--mk-on-control-2;Art interactivemarks no layer, so the 3D stage's own art and plate layers decide (its caption and keys never sit inside an art layer). Read the whole entry - StatGroup lays out by its own width (a size container), SpecStrip keeps 2 × 2 inside a narrow container and the Navbar's desktop bar also needs a 60rem header, so phone-width specimens on wide screens no longer squeeze; the Navbar bar wraps rather than spills under wide text spacing. Read the whole entry