skip to the page
superthread
compositionslist rows
system
superthread
version
2.15.1
date
24.11.26

list rows

rows for tasks, chapters and notes. a ruled row keeps a place for its lead, title, time, context and actions; a plain row is a line of words that links.

bunx --bun shadcn@latest add @mk/list-rows

serves constellation, quanta, trisys, orbit, the public site.

example

check the first task to complete it, or pin it for later. its title links to the states below; the next titles are plain text. the meta line holds context and prints the dot between its pieces. a status sits outside it, as a small badge in the aside.

light

  • review the reading layout on a small screen
    quantachapter 03
  • collect the next chapter notes
    3 notes
    quantachapter 04
  • leave room for a longer title without cutting off the last word
  • render the chapter plates
    running
    quantachapter 05

dark

  • review the reading layout on a small screen
    quantachapter 03
  • collect the next chapter notes
    3 notes
    quantachapter 04
  • leave room for a longer title without cutting off the last word
  • render the chapter plates
    running
    quantachapter 05

title states

a title prints in foreground, linked or plain. hover adds an underline to a link, and keyboard focus draws the control ring. a closed row stays in the list, with its title muted and struck through. a receding row is still live and fading, so its title prints muted with no strike.

light

rest
one real link

hover
the title is underlined

focus
2 px ring outside the title

closed
muted and struck through

receding
muted, no strike

dark

rest
one real link

hover
the title is underlined

focus
2 px ring outside the title

closed
muted and struck through

receding
muted, no strike

markers

variant="markers" makes ListRowActions a muted line of facts, read from the row’s start. kind="id" sets a title in mono. a piece that renders nothing takes its dot with it, and an empty meta line or actions line takes no room, so the second row here is one line.

light

  • ex-2041
    quantachapter 03
    pdfepubshared
  • ex-2040

dark

  • ex-2041
    quantachapter 03
    pdfepubshared
  • ex-2040

on a phone

at 600 px and below, the aside moves under the title and before the meta line. this frame gives the row a real phone viewport.

light

dark

a day's rows

variant="day" sets a row on one 44 px line with no rule: ListRowTime, the title, ListRowKind and ListRowWhen. the columns hold across rows, so a row with no kind leaves its column open. a kind is a muted word until it gets an href, and then it prints as a link. what ends the row is a time or one small control. a long title truncates.

light

  • team standup
  • renewal callbrief
  • a meeting whose title runs on past the end of its one line, as long titles dotentative

dark

  • team standup
  • renewal callbrief
  • a meeting whose title runs on past the end of its one line, as long titles dotentative

on a phone the time column is 44 px and the end column 48 px. the title keeps half the row, so the kind gives way first. each row stays 44 px, and a small button fills its column.

light

dark

plain rows

a plain row has no rules and no padding, so a list reads as words. the whole row is the link, its title holds one line at weight 400 and cuts at its end, and ListRowKind and ListRowWhen take 80 and 128 px columns. a row leaves out a column it doesn’t print, and an empty ListRowWhen holds its place.

three forms set the height: plain is 40 px, nested is 36 px for a list under a quiet head, and ruled is 48 px with a rule that bleeds to the panel’s edges. a tick hangs in the gutter, so every title keeps the list’s left edge.

light

dark

plain title states

hover underlines the words, and keyboard focus rings the whole row, inside it when the row is ruled, since a ruled row reaches the panel’s edges. a tick or an action sits above the link and keeps its own click.

light

rest
one link across the row

hover
the words underline

focus
2 px ring outside the row

closed
muted and struck through

dark

rest
one link across the row

hover
the words underline

focus
2 px ring outside the row

closed
muted and struck through

plain rows on a phone

at 600 px and below, every form is 56 px, with the title over kind · when and when in the interface face. the tick moves to the right edge at 44 px, and actions take their own line. a list that sets clamp lets its titles take two lines, as the middle list does here. both frames use a 390 px viewport.

light

dark

plain parts

PlainRows
the list. variant is plain, nested or ruled, and clamp lets a title take two lines on a phone.
PlainRow
one row. closed keeps it in the list, muted and struck through.
PlainRowTitle
stretches its link over the row when it gets an href or the app’s router link through render, and stays plain text without one.
ListRowKind, ListRowWhen
the columns, the same parts a day row takes. they fold under the title on a phone with a dot between them. a control takes PlainRowActions, which sits above the row’s link.
PlainRowTick
holds a checkbox in the gutter, or at the right edge on a phone.
PlainRowActions
buttons at the row’s end, on their own line on a phone.