Radio
draft
in progress...
Loading
Code
HTML
import { NbhdRadio } from '@fbin-web/neighborhood-core';
<nbhd-radio> radio </nbhd-radio>
React
import { NbhdRadio } from '@fbin-web/neighborhood-react';
const App = () => (
<>
<NbhdRadio>radio</NbhdRadio>
</>
);
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
ariaLabel
|
aria-label
|
string
|
Descriptive text for additional context. | |
cssClass
|
css-class
|
string
|
Additional CSS classes to apply to the radio button. | |
labelData
|
labelData
|
object
|
Parent label data for the radio button(s). | |
radioData
|
radioData
|
array
|
|
Array data for the radio button(s), including (label, value, name, etc.). |
Dependencies
This component contains the following components as dependencies.