Skip to content

Radio select โ€‹

...

Browser support โ€‹

...

Parameters โ€‹

Hello

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

NameTypeDescription

The events emitted from the component are:

NamePayloadDescription
onchangestringReturns the new value of the "value" attribute

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/RadioSelect.css" />
Code
html

<div z-radio-select="">
  <label><span>HTML</span><input type="radio" name="radio-select" value="HTML"></label>
  <label><span>CSS</span><input type="radio" name="radio-select" value="CSS"></label>
  <label><span>JavaScript</span><input type="radio" name="radio-select" value="javascript"></label>
</div>