# 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](space-between.md) 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](header.md).




### 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.