Example#
K R A //
Usage#
Use a line badge wherever something belongs to a line of work: an eyebrow, a card head, a tag, a table row. It is the meaning unit (D-C2): the line's ink, its letter and its shape together, so it reads in any colour vision and in print.
- Lines.
websites(K, circle),growth(R, triangle),software(A, bars),custom-apps(M, diamond) andmaxos(the wood with "//"). - Sizes. 16 px prints the shape alone, 24 px an 18 px letter, 32 and 48 px the letter and the shape (DF-39, D-N146).
- Names. Standalone it is named by the line; beside the line's name in text, pass
decorativeso it is not read twice.
Anatomy#
R
- InkA square in the line's ink.
.mk-line-badge - Letter
data-mk-part="letter" - ShapeThe line's glyph at the corner.
.mk-line-badge-glyph
Volume#
Reading layer: the badge is identical at every volume, in the colourway's inks.
Quiet
K R A //Studio
K R A //Press
K R A //Rave
K R A //
Content#
- Next to a badge, write the line's name exactly: Websites, Growth, Software, Custom apps.
Do and don't#
Do
Growth
Don't
Growth
Accessibility#
- Standalone it is named by its line; beside the visible name pass
decorative. - Ink, letter and glyph together: meaning never by colour alone (D-C2).
- Letters follow APCA: the 16 px badge prints its shape glyph alone (a letter there would be 9 px, under the 14 px floor), the 24 px badge an 18 px letter, and the 32 and 48 px badges the letter with the glyph in the corner. Anybody at 850 needs 18 px before APCA allows it for words (DF-39).
Props#
| Prop | Type | Default | Description |
|---|---|---|---|
line required | "custom-apps" | "growth" | "maxos" | "software" | "websites" | none | |
size | LineBadgeSize | none | |
decorative | boolean | none | Standalone badges are named by their line; beside the visible name pass `decorative`. |
Tokens#
System tokens (4)
Changelog#
Arrived in 0.1.0.
LineBadgeletters follow APCA (DF-39): the 16 px badge prints its shape glyph alone, the 24 px badge an 18 px letter, 32 and 48 both (LINE_BADGE_TYPE). Read the whole entry
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