Skip to main content English Español Light Dark System

Radio

<gstock-radio> | GstockRadio

API

Properties

Name Description Reflects Type Default
checked By default false Reflects boolean false
hint The radio’s hint text. string ''
label The radio’s label. string -
size The radio’s size. By default, medium. Reflects 'small' | 'medium' | 'large' 'medium'
name Name groups the radios into a radio group. string -
value Value to be returned to the radio group when selected. string -
disabled Whether the radio is disabled. Reflects boolean false
updateComplete

A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties .

Events

Name React Event Description Event Detail
gstock-blur-event onGstockBlurEvent Emitted when the radio loses focus. -
gstock-focus-event onGstockFocusEvent Emitted when the radio gains focus. -

Learn more about events .

CSS Parts

Name Description
base The component’s base wrapper.
input The radio type input.
label The radio label

Learn more about CSS parts .