← All Patterns
Canon
Forms
Form patterns reduce friction by standardizing structure before you customize field-level details. Reach for composition before inventing another bespoke flow.
Published April 14, 2026
Pattern Set
FormLayout: shared structure for grouped fields and supporting copyFormValidation: validation framing for errors and recovery statesMultiStepForm: step-based flows when a single screen would overwhelm the user
Canon also ships the field primitives these patterns compose with, including TextField, TextArea, Checkbox, CheckboxGroup, RadioGroup, Select, and Switch.
Import Surface
<script lang="ts">
import {
FormLayout,
FormValidation,
MultiStepForm,
TextField,
CheckboxGroup
} from '@create-something/canon';
</script> Pattern Selection
- Use
FormLayoutwhen the fields are straightforward and the job is clarity. - Add
FormValidationwhen users need fast recovery from mistakes. - Use
MultiStepFormonly when chunking reduces cognitive load more than it adds navigation cost.
Documentation Status
Expanded usage examples are still being documented. For now, treat this page as the stable surface map for the form patterns that already ship in the package.