skip to the page
superthread
componentssource mark
system
superthread
version
2.15.1
date
24.11.26

source mark

the frame a third-party mark prints in: 96 px, one ink, and a second frame on hover.

bunx --bun shadcn@latest add @mk/source-mark

example

a mark is a notched 16-cell tile with its drawing knocked out, so the surface shows through and one ink prints the whole mark, never the owner’s colours and never a spot. on a phone it drops to 80 px, which keeps the cells on whole pixels. the drawings here are fictional: a ship keeps its own.

light

  • mail
  • calendar
  • card
  • phone
  • chat
  • notes
  • files

dark

  • mail
  • calendar
  • card
  • phone
  • chat
  • notes
  • files

its two frames

the second frame cuts in, with no transition, while the pointer or the focus is on the mark or in a linked tile. held keeps it up, for a moment that settles on it.

light

  • at rest
  • held

dark

  • at rest
  • held

parts

SourceMark
the frame. d and hover are the drawing’s two frames as path data, each made of whole cells that never overlap and stay inside the tile. held keeps the second frame up. the words beside it carry its meaning, so it’s hidden from readers unless it takes an aria-label.
a tile
set it in ItemCardMedia on a tile in item-cards, and a tile whose title links drives its second frame from anywhere in it.