Radio Group

A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time.

Was this example helpful?

Usage#


Code
import { RadioGroup } from "@medusajs/ui"
Code
1<RadioGroup>2  <RadioGroup.Item value="1" id="radio_1" />3  <RadioGroup.Item value="2" id="radio_2" />4  <RadioGroup.Item value="3" id="radio_3" />5</RadioGroup>

API Reference#


This component is based on the Radix UI Radio Group primitives.

Examples#


With Descriptions#

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

Was this example helpful?

With a disabled item#

Was this example helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break