Semantic FormsA pattern library of forms based on semantic HTML enhanced with a modern UX.Table of ContentsHigh flow (JavaScript enabled) stylingInputsSelectsCheckboxesRadiosOtherAlignment classesKeyboard shortcutsTablesNested fieldsetsDetail elementsButtonsColspan classesP tag elementsSemantic form tablesTable with semanticForms classTable with a form in a cellUnstyled tableLow flow (JavaScript disabled) stylingInputsNested fieldsetsDetail elementsColspan classesP tag elementsButtonsNon-form related HTML elementsHigh flow (JavaScript enabled) stylingNamePrefilled fieldNo placeholderPassword fieldPassword should be at least 8 characters long.Don't show password fieldPassword should be at least 8 characters long.Customize clear/show buttonsPassword should be at least 8 characters long.Input with button GoSingle form inputdata-max-content text inputdata-max-content selectShortSome really really really really really really really really long textThis is some medium textInputsEmail fieldTelephone fieldURL fieldSearch fieldNo float labelNumberInput with label help text Some help textInput with help iconRequired input with help iconInvalid fieldValid fieldRequired fieldRequired field (no asterisk)Required field (custom title)Disabled inputDisabled input w/ valueColor fieldDate fieldTime fieldDatetime-local fieldMonth fieldWeek fieldFile fieldInput with button Some help text that should span the entire width of the input/button combo. Range fieldRange valueSelectsSelect boxItem oneItem twoItem threeItem fourItem fiveItem sixItem seven Some help text regarding the select boxRequired select boxMake a selectionItem oneItem twoItem threeItem fourItem fiveItem sixItem sevenRequired select box (no asterisk)Make a selectionItem oneItem twoItem threeItem fourItem fiveItem sixItem sevenSelect with buttonOption 1Option 2Option 3 PickMultiple selectOption 1Option 2Option 3Option 4Option 5CheckboxesCheckboxes One Two ThreeRequired checkboxes One Two ThreeCheckboxes w/ help text One Two ThreeCheckboxes w/ additional text One Two ThreeThis is some additional text.CheckboxCheckbox (required)Checkbox w/ help textCheckbox w/ additional text This is some additional text.RadiosRadios One Two ThreeRequired radios One Two ThreeRadios w/ help text One Two ThreeRadios w/ additional text One Two ThreeThis is some additional text.RadioRadio (required)Radio w/ help textRadio w/ additional text This is some additional text.Other inputsTextareaTextarea (prefilled)Some prefilled content... Some help text regarding the textarea with some really long text that should overflow and wrapTextareaRow 1 Row 2 Row 3 Row 4 This textarea has the data-max-rows set to 3, so the textarea will not expand past 3 rows.Disabled autosize textareaRow 1 Row 2 Row 3 Row 4 Row 5 Row 6 This textarea element has the data-disable-autosize attribute applied, and has rows set to 5.Auto-grow textareaStart typing to see me growAuto-grow inputAlignment classesalign-startalign-centeralign-endalign-startalign-centeralign-endDefault Input focusCtrl Input focusAlt Input focusMeta Input focusNumber focusTextarea focus Special character keyboard shortcuts also require Shift to be pressed.Date focus Hover over these inputs to see the keyboard shortcutColor focusRange focusSelect focusValue 1Value 2Value 3TablesTable with inputs and buttonsTable TitleColumn 1Column 2Column 31Button 1Link button 12Button 2Link button 23Button 3Link button 3Table using colgroups to define column widthTable TitleColumn 1Column 2Column 320%50%30%Nested fieldsetsFieldset 1InputHere is some subtext.Input 2Here's some small subtext.Input 3Here's some bold subtext.Input 4Here is some subtext.Here is some more subtext.Fieldset 2Input 1Input 2SelectValueFieldset 3Input AInput BInput CInput DDetail elementsDetail elementDetail inputDetail inputDetail inputDetail inputAnother detail element with a nested fieldsetDetail inputNested fieldsetNested fieldset inputButtonsStandard buttonStandard buttonInput buttonSubmit inputReset input Button linkFlexbox button layout pattern with two submit buttons:Button 1Flexbox button layout pattern with three submit buttons:Button 1Button 2Colspan classescolspan-1colspan-1colspan-2colspan-4colspan-3colspan-1colspan-fullcolspan-5colspan-1Input AInput BInput CInput Dcolspan-2Input AInput BInput CInput Dcolspan-3Input AInput BInput CInput Dcolspan-fullInput AInput BInput CInput DP tag elements CheckboxText input Textarea ButtonSome regular text with other elements inside of itSemantic form tablesTable with semanticForms classTable TitleColumn 1Column 2Column 31Button 1Link button 12Button 2Link button 23Button 3Link button 3Table with a form in a cellTable TitleColumn 1Column 2Some textSubmit buttonUnstyled tableTable TitleColumn 1Column 2Column 31Aa2Bb3CcLow flow (JavaScript disabled) stylingAdding the lowFlow class to the form element removes all JS enhancements.NamePrefilled fieldNo placeholderPassword fieldPassword should be at least 8 characters long.Single form inputFieldset legendInputsEmail fieldTelephone fieldURL fieldSearch fieldNumberInput with label help text Some help textInvalid fieldValid fieldRequired fieldSelect boxItem oneItem twoItem threeItem fourItem fiveItem sixItem seven Some help text regarding the select boxCheckboxes One Two ThreeSingle checkboxRadios One Two ThreeColor fieldDate fieldTime fieldDatetime-local fieldMonth fieldWeek fieldFile fieldRange fieldTextareaTextarea (prefilled)Some prefilled content... Some help text regarding the textarea with some really long text that should overflow and wrapNested fieldsetsNested fieldsetInputHere is some subtext.Input 2Here's some small subtext.Input 3Here's some bold subtext.Input 4Here is some subtext.Here is some more subtext.Another nested fieldsetInputInput 2SelectHeyDetail elementsDetails summaryDetail inputDetail inputDetail inputDetail inputAnother details elementDetail inputColspan classescolspan-1colspan-1colspan-2colspan-4colspan-3colspan-1colspan-fullcolspan-5colspan-1Input AInput BInput CInput Dcolspan-2Input AInput BInput CInput Dcolspan-3Input AInput BInput CInput Dcolspan-fullInput AInput BInput CInput DP tag elements CheckboxText input Textarea ButtonSome regular text with other elements inside of itButtons Button linkFlexbox button layout pattern with two submit buttons:Button 1Flexbox button layout pattern with three submit buttons:Button 1Button 2Non-form related HTML elementsThis is some regular HTML that should not be affected by any semantic forms stylesThis is a divThis is a block quoteA link to the semantic forms repounordered list 1unordered list 2unordered list 3ordered list 1ordered list 2ordered list 3menu list 1menu list 2menu list 3description list titledescription list value