Attribute Type Documentation Default Value
field :atom

a form field struct retrieved from the form, for example: @form[:language]

options :list

The options for the radio group

[]
row_layout :boolean

Row layout for the radio group if true

false
value :any

The value of the radio group

" "
on_change :string

The function to be called when the radio group value changes. Used outside of a form

rest :global

Additional attributes for the radio group

phx-target :any

Phoenix radio group target