UNPKG

preact-material-components

Version:
15 lines 430 B
// name must match accross all elements to logically group them <div> <Formfield> <Radio id="radio-1" name="Basic Options" /> <label for="radio-1">Radio 1</label> </Formfield> <Formfield> <Radio id="radio-2" name="Basic Options" /> <label for="radio-2">Radio 2</label> </Formfield> <Formfield> <Radio id="radio-3" name="Basic Options" /> <label for="radio-3">Radio 3</label> </Formfield> </div>