Skip to content
SprecherEast
Issue 208

docs: Apply the approved merges to the component set (45 to 37 components)

Back to our plan
Done
documentationfrontenduxpriority: medium

Type

documentation

Problem

The component set in docs/ui/ (#195) still says "proposal" and lists 45 components. The owner approved it on 2026-10-21 in the Claude chat for this project, after asking for fewer components that compose each other:

Summary of the owner's feedback (2026-10-21, voice): 45 components in total seems high to him. He hopes the components compose each other, instead of building a separate button for forms and yet another for buttons.

"Yes, and I approve, please continue to the next steps" (2026-10-21, 22:17 CT)

Proposed fix

Apply the merges he approved and mark the set approved:

  • TextField, TextArea, SelectField and CheckboxField become parts of Field (Field.Input, Field.TextArea, Field.Select, Field.Checkbox).
  • Heading becomes variants of Text.
  • DetailHero becomes PageHeader · image.
  • Container becomes Section's width.
  • Link · skip becomes Button · primary with href: a link only ever looks like text.
  • Skeleton stays a style inside SiteHeader, and Accordion becomes FaqList in directory/ui, until a second screen needs either.
  • State the rule that Button is the only thing that draws a button.

That leaves 23 shared components (from 32) and 37 in total (from 45). Every inventory element still maps to exactly one component.

Acceptance criteria

  • Not done: The element tables, the component tables and the coverage table agree (checked by script).
  • Not done: The status is "approved", with the date.
  • Not done: The two open choices (card looks, rule 8) stay open for the owner.

Area

frontend, ux

Priority

priority: medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab