Skip to content

Latest commit

 

History

History
78 lines (24 loc) · 1.04 KB

form.md

File metadata and controls

78 lines (24 loc) · 1.04 KB

Form

A section of a page that has interactive controls that enable a user to submit information to a web server.

Properties

className

Adds the specified classes to the root element of the component.

Type: String

Required: No

id

Adds the specified ID to the root element of the component.

Type: String

Required: No

Slots

actions

Specifies actions for the form. You should wrap action buttons in a space between component with direction="horizontal" and size="xs".

children

Specifies the main form content.

errorText

Specifies a form-level validation message.

header

Specifies the form title and optional description. Use the header component.

secondaryActions

Specifies left-aligned secondary actions for the form. Use a button dropdown if multiple actions are required.

License Summary

The documentation is made available under the Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE file.