Skip to content

Heading Mark

Marks that stand in for words inside a heading: Works with, then the logos instead of the names. Each sits at the cap height of the heading as the bare mark and keeps its name for screen readers and in a tooltip. A group stays on one line as a row, an overlapping stack or a hand of cards.

On this page
Used for
  • Landing headlines
  • Works with lines
  • Section headings
  • Card titles
  • Integration copy

Examples

Variant
Marks
Join
Size

Row, stack and hand

In a section heading

Before a card title

One slot that cycles

Monochrome icons on a plate

In running text

Installation

npx knowns-ui@latest add heading-mark
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

marks
{ icon, label }[]
icon: an emoji string, your icon node, your logo image { src, fit? } or a filled tile { icon, tone }. label: the name the mark stands for.
variant
"row" | "stack" | "hand"
Default"stack" from 3 marks, else "row"
Small gaps, overlapping marks edged in the page colour, or a fan like cards held in a hand.
tile
"none" | "soft" | "glass" | "outline"
Default"none"
The plate behind each mark. None draws the bare mark: a logo or an emoji carries its own shape. A plate is for monochrome glyphs, and images on a plate are clipped to its rounded square.
join
"or" | "and"
A real word before the last mark, which then sits on its own.
reveal
boolean
Defaultfalse
Pop the marks in one by one when the group scrolls into view after load. Never on a group that is on screen at load.
tooltip
boolean
Defaulttrue
The name on hover and keyboard focus. It makes each mark a tab stop; turn it off where the names are written out next to the marks.
ringColor
string
Default"var(--background)"
The edge between overlapping marks: a halo that follows a bare mark's shape, a ring around a plate. Use var(--card) on a card.
HeadingMark
{ icon, label, tooltip?, tile? }
One mark.
HeadingMarkCycle
{ marks, join?, interval?, tile? }
Defaultjoin "or", 2200
One slot that rolls through the marks. Screen readers hear the whole list once.
Size
CSS
Default1cap + 0.14em
From the font around it, so set the heading's font size and the marks follow. A bare glyph fills 0.92 of it; a plate's radius is 0.22.

Accessibility

  • Each mark holds its name as visually hidden text, so the heading reads as a sentence: "Works with Halden, Moss, Tern or Haven".
  • The mark itself is hidden from screen readers, and images get an empty alt for the same reason.
  • With tooltips on, each mark is a tab stop; focus shows the ring and the name, Escape hides it.
  • A cycle names all its marks once and does not announce each roll.
  • Under reduced motion marks stay at rest, a group does not spread and a cycle holds on its first mark.

What it handles

  1. 01Puts marks in place of words inside a heading's sentence, sized from the cap height of its font, so one mark fits a 20px line and a 96px headline.
  2. 02Draws the bare mark by default, so a logo or an emoji keeps its own shape, and puts a plate behind monochrome glyphs only when you ask.
  3. 03Keeps a group on one line as a row, an overlapping stack or a hand of cards, each edged by a halo that follows its shape, with a real or or and before the last mark.
  4. 04Reads the sentence to screen readers with each name in place, and shows the name in a tooltip on hover and keyboard focus.
  5. 05Lifts the hovered mark to the front on a spring; a stack nudges its neighbours aside and a hand opens its fan so every mark shows.
  6. 06Rolls one slot through several marks, pausing on hover, focus, off screen and under reduced motion.

States

First render
Marks at rest; nothing plays
none
Hover or focus a mark
It lifts 0.08 of its size and comes to the front; a stack nudges, a hand fans 1.5 times wider
glide spring
Scrolls into view later (reveal)
Marks pop in one after another
180ms ease out, 60ms apart, 240ms at most
Cycle
The slot rolls up to the next mark every 2.2s
280ms ease in-out
Reduced motion
Rest pose; the cycle holds
0ms

Works with

When to use

When to use

  • A landing or section headline that names the tools it works with by their marks instead of their names: Works with, then the logos.
  • A small set of marks before a card title or inside running text, where the mark is quicker to recognise than the word.

When not to use

  • People: faces with names and status: use Avatar.
  • Customer logos as social proof: use Logo Cloud.
  • Marks people have never seen: write the name instead, a mark only replaces a word people already know.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Heading Mark to my app and wire it to my own data.
  • I need a landing or section headline that names the tools it works with by their marks instead of their names: Works with, then the logos. Set that up with the Knowns UI Heading Mark.
  • Which Heading Mark props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "heading-mark" }) and search_docs({ query: "heading mark" }).

Need help?

Stuck on Heading Mark, or found something off? We read every message.