Radio

The v-radio component is a simple radio button. When combined with the v-radio-group component you can provide grouping functionality to allow users to select from a predefined set of options.

Basic

The v-radio component is a simple radio button.

Colors

Radios can be colored by using any of the built-in colors and contextual names using the color prop.

Inline

Use inline prop to displays radio buttons in row.

Density

Use density prop to adjusts the spacing within the component. Available options are: default, comfortable, and compact.

Label slot

Radio Group labels can be defined in label slot - that will allow to use HTML content.

Icon

Use false-icon and true-icon prop to set icon on inactive and active state.

Validation

Use rules prop to validate a radio. Accepts a mixed array of types function, boolean and string. Functions pass an input value as an argument and must return either true / false or a string containing an error message.

CONTENTS
  • Introduction

  • Basic

  • Colors

  • Inline

  • Density

  • Label Slot

  • Icon

  • Validation