Radio
Radio lets users pick one option from a set. The selected state is a bullseye: a white circle with an accent border and a smaller accent dot inside it.
Base
Mantine + override
Mantine
Import
{ Radio } from '@mantine/core'
Source
src/themes/theme.ts
src/themes/style-overrides/radio.module.css
Usage
Svar
disabled
React
<Radio.Group label="Svar" defaultValue="ja">
<Group mt="xs">
<Radio value="ja" label="Ja" />
<Radio value="nei" label="Nei" />
</Group>
</Radio.Group>
Props
Only what this design system changes. Everything else is Mantine's — read the full props table there.
| Property | Type | Allowed values | Default | Description |
|---|---|---|---|---|
| — | — | — | — | Checked state is a bullseye: white fill, accent border, accent inner dot at --radio-icon-size: 60% — not Mantine's filled circle. |
| — | — | — | — | Disabled state drops the border to --mantine-color-disabled-border and the dot to --mantine-color-disabled-color — colour only. |
The label text is 14px (--mantine-font-size-sm) at every size.
Accessibility
Group related radios under Radio.Group with a visible label. It renders
role="radiogroup". Give every Radio its own label so it renders a real
<label>. Theme-wide rules are on the
Accessibility page.