Form
SaaS form composition patterns: settings sections, responsive grids, filter rows, billing inputs, choice groups, dense admin metadata, and action rows.
Account settings
Billing setup
Choice validation
Filter row
Dense admin metadata
Two-column aligned form (CSS Subgrid)
Add data-layout="aligned" to an .pl-c-form to align label and input columns across fields using CSS Subgrid. Labels size dynamically to the widest label in the form without hardcoded widths or JavaScript, and collapse to a single column on narrow screens.
Pure-CSS conditional field disclosure
Dependent fields smoothly expand and collapse via .pl-c-form__conditional driven byinterpolate-size: allow-keywords and parent :checked state without JavaScript.
Reactive form validation summary
Live warning alert banner (.pl-c-form__summary) driven entirely by form:has(:user-invalid). When any field becomes invalid, the summary illuminates and the submit button reflects warning feedback.