skip to the page
superthread
compositionsquick add
system
superthread
version
2.15.1
date
24.11.26

quick add

one field and its add button. a successful add clears the draft and returns focus; a failed add keeps the words ready to try again.

bunx --bun shadcn@latest add @mk/quick-add

serves trisys, orbit, the public site.

example

type a task and press enter, or use add. leading and trailing spaces are trimmed; an empty draft cannot submit.

light

  • review the chapter outline

dark

  • review the chapter outline

submission states

these are real forms. the pending example waits until you finish the add; its field can hold a newer draft meanwhile. the failed example succeeds on retry.

light

rest
empty draft, add disabled

ready
a nonblank draft enables add

focus
one inside edge on the field

pending
a second add is blocked

failed
the draft stays, the error names recovery

disabled
the field and add control stay disabled

dark

rest
empty draft, add disabled

ready
a nonblank draft enables add

focus
one inside edge on the field

pending
a second add is blocked

failed
the draft stays, the error names recovery

disabled
the field and add control stay disabled

compact label

hide the visible label when the surrounding page gives enough context. the field still has its own name, and the submit word can match the task.

light

the label stays available to screen readers.

dark

the label stays available to screen readers.