RadioGroupCapture user feedback limited to small set of optionsImportimport { RadioGroup, Radio } from '@mantine/core';SourceView source codeDocsEdit this pagePackage@mantine/coreDocumentationComponent propsStyles APIUsageSelect your favorite framework/library *This is anonymousReactSvelteAngularVueOrientationHorizontalVerticalLabelDescriptionErrorSpacingxssmmdlgxlSizexssmmdlgxlColorRequiredimport { RadioGroup, Radio } from '@mantine/core'; function Demo() { return ( <RadioGroup label="Select your favorite framework/library" description="This is anonymous" required > <Radio value="react" label="React" /> <Radio value="svelte" label="Svelte" /> <Radio value="ng" label="Angular" /> <Radio value="vue" label="Vue" /> </RadioGroup> );}Controlledimport { useState } from 'react';import { RadioGroup, Radio } from '@mantine/core'; function Demo() { const [value, setValue] = useState('react'); return ( <RadioGroup value={value} onChange={setValue} label="Select your favorite framework/library" description="This is anonymous" required > <Radio value="react" label="React" /> <Radio value="svelte" label="Svelte" /> <Radio value="ng" label="Angular" /> <Radio value="vue" label="Vue" /> </RadioGroup> );}Sizexs size radiosm size radiomd size radiolg size radioxl size radioGet input refimport { useRef } from 'react';import { RadioGroup, Radio } from '@mantine/core'; function Demo() { const ref = useRef<HTMLInputElement>(); return ( <RadioGroup> <Radio value="react" label="React" ref={ref} /> <Radio value="svelte" label="Svelte" /> <Radio value="ng" label="Angular" /> <Radio value="vue" label="Vue" /> </RadioGroup> );}Go backPasswordInput – @mantine/coreUp nextSegmentedControl – @mantine/coreTable of contentsUsageControlledSizeGet input refBuild fully functional accessible web applications faster than everAboutContributeMedia assetsChangelogReleasesCommunityChat on DiscordFollow on TwitterFollow on GithubGitHub discussionsProjectMantine UIDocumentationGithub organizationnpm organizationBuilt by Vitaly Rtishchev and these awesome peopleJoin Discord communityFollow Mantine on Twitter