Skip to content

Fieldset - Web Component

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

Parameters

The Web component uses the <z-fieldset> tag:

By default, all the parameters are optional or can be set in different, except for the ones marked as required

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescriptionSlot
configstringThe config spread for the inputs inside the fieldset.
legendstringText of the legend that wraps the fieldset.

The available slots for the component are:

NameTagsDescription
defaultspanContent of the fieldset.
legendspanText of the legend that wraps the fieldset.

legend

The legend attribute is used to set the legend of the fieldset.

Content

Also you can use the legend slot to set the legend of the fieldset.

Legend Content

config

The config that will be applied to the inputs inside.

Playground

Customization

HTML Examples

StackBlitz example