Radio button
One choice out of a few — native radios in a group, with arrow-key navigation.
Group
tx-radio-group holds the value and is the radiogroup. Tab moves into the group, arrow keys change the choice.
Value: standard
Horizontal
orientation="horizontal" puts the options in a row.
Description
description adds a muted line under the label, read as the option's description.
Tiles
tile turns the options into cards — for plans and other choices that need more room.
Standalone
Without a group, each radio binds the same control and is checked when the control equals its value. Give them one name so the arrow keys work.
Sizes
small, medium and large — set on the group or on one option.
Variants
filled gives the empty circle the filled field background.
States
A disabled option, a disabled group, readonly and invalid.
Form
Validators.required on the group inside tx-field: the error shows after submit and the circles turn red.
Design tokens
[dt] changes the radioButton tokens — here a ring instead of a filled circle.