Skip to content
7 Seventh UI CSS

Components

Bitbucket Figma

Radio

Native CSS radio component derived from the List trailing radio source, node 930:4101.

Default

Group

Delivery method

States

List Integration

  • List item with radio The trailing control is a native radio input.

CSS API

Use .sui-radio as the label/root, .sui-radio__control for the native input, and the native name attribute for exclusive groups.

<fieldset class="sui-radio-group"> <legend class="sui-radio-group__legend">Group label</legend> <label class="sui-radio"> <input class="sui-radio__control" type="radio" name="group" value="one"> <span class="sui-radio__mark" aria-hidden="true"></span> <span class="sui-radio__body"> <span class="sui-radio__label">Label</span> <span class="sui-radio__helper">Helper text</span> </span> </label> </fieldset>