Skip to content

MazRadioButtons ​

MazRadioButtons is a standalone component to select a value in a list. Made with native HTMLInputElement type radio

INFO

Before you have to import the global css files in your project, follow instructions in Getting Started

Basic usage ​

Select a competition

Custom slot template ​

Select a competition

Orientation - Column ​

Select a competition

Selector icon with options equal-size ​

This option will display a select icon on the left of the label

Types ​

options ​

The options prop is an array of ButtonsRadioOption type

ts
export type ButtonsRadioOption = {
  /** The label of the option */
  label: string
  /** The value of the option */
  value: string | number | boolean
  /** The classes to apply to the option */
  classes?: any
  /** The style to apply to the option */
  style?: StyleValue
} & Record<string, unknown>