skip to the page
superthread
compositionsform section
system
superthread
version
2.15.1
date
24.11.26

form section

a form named by its heading, with fields below and a ruled save row. the app owns the draft, validation and save status.

bunx --bun shadcn@latest add @mk/form-section

serves quanta, trisys, orbit, the public site.

example

edit the prefix, then save or discard. clear the field and save to see its error; the draft stays in place until it is valid.

light

chapter names

new chapters use this prefix. existing names stay as they are.

for example, chapter- followed by a number.

unsaved changes

dark

chapter names

new chapters use this prefix. existing names stay as they are.

for example, chapter- followed by a number.

unsaved changes

save states

the status sits beside the actions and is read out when it changes. save keeps the new value, and discard returns to the last saved value.

light

chapter settings

unsaved changes

unsaved
the form starts with a draft

chapter settings

saved

saved
the app confirms the write

dark

chapter settings

unsaved changes

unsaved
the form starts with a draft

chapter settings

saved

saved
the app confirms the write