Form Examples
Design Docs
- Refer to this link for design documentation of spaceweb forms
All form fields have are of md size by default. In case, fields should be of some other size, then size can be passed to fields using componentProps.
Form with all FieldsFull page form
Form with all fields
Enter form properties
Important Specifications:
Form Container should have 32 px horizontal padding and 16 px vertical padding. This can be achieved by passing
px-8 py-4
classes to form container. No additional spacing should be added to the form.<FormHeader/>
is used as a separate component along with<Form/>
. FormHeader needs to be passedmb-6
class to follow the design guidelines.SectionHeader
can be used as a field in fieldConfigMap. To follow the design specifications, SectionHeader must be passedmt-4
as classNames.