Fieldset โ
...
Browser support โ
...
Parameters โ
The CSS component uses the <fieldset>
tag with the z-fieldset
HTML custom attribute.
The parametrization of the component can be done with the following custom HTML params:
Name | Type | Description |
---|---|---|
z-fieldset | string | Custom attribute for the accordion component |
Playground โ
Customization โ
HTML Examples โ
Imports
html
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/base.css" />
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/Fieldset.css" />
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/base.css" />
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/TextInput.css" />
Code
html
<fieldset z-fieldset>
<legend>User name:</legend>
<label z-text-input>
<span>User name</span>
<input type="text" placeholder="User name" />
</label>
</fieldset>