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

source line

what a page was written from: a wrapping row of sources at the instrument step, and what closes the line at its far side.

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

example

a citation has to read as something you can open, so a source prints as a link does in running text: in foreground, underlined at rest. end holds the far side in mono, for a time that holds its place.

a source with no address

a source with no href stays a plain name in the line’s ink, so it never reads as a dead link. label changes the line’s first word.

light

read for this

dark

read for this

long lines

the label and the sources wrap as one row, and a long source wraps inside it. end takes whatever line it lands on, at the far side.

on a phone

each link is its own 44 px box and the lines close up, so no two reaches overlap. end joins the row’s words in the interface’s face.

light

dark

parts

SourceLine
the list of sources after its label, which defaults to sources, with end at the far side.
SourceLineItem
one source. href or a router link through render makes it a link, and without one it prints as a plain name.