Skip to content
API reference

components/icon-radio

Import
import * as api from "@fungi.computer/caps/components/icon-radio";
Kind Export Description
type alias IconRadioProps Props accepted by IconRadio. Use it inside the existing RadioGroup.
constant IconRadio One icon choice in a native, mutually exclusive Caps RadioGroup.

IconRadioPropstype alias

Section titled “IconRadioProps”
Signature
type IconRadioProps = object &
Omit<RadioGroupItemProps, "children" | "indicator">;

Props accepted by IconRadio. Use it inside the existing RadioGroup.

Name Type Description
label string -
icon ReactNode -
caption? string A short visible legend; it does not replace the accessible label.

IconRadioconstant

Section titled “IconRadio”
Signature
const IconRadio: ForwardRefExoticComponent<
object &
Omit<RadioGroupItemProps, "children" | "indicator"> &
RefAttributes<HTMLInputElement>
>;

One icon choice in a native, mutually exclusive Caps RadioGroup.