Skip to content

Radio

Last updated 6 Nov 2026

NbRadio renders a group of radio button inputs for single-choice selection. Radio buttons in the same group share a name attribute, ensuring only one can be active at a time.

vue
<template>
  <NbRadio
    v-model="size"
    name="size"
    label="Choose your size"
    :options="[
      { label: 'Small', value: 'sm' },
      { label: 'Medium', value: 'md' },
      { label: 'Large', value: 'lg' },
    ]"
  />
</template>

<script setup lang="ts">
import { ref } from 'vue'
const size = ref('')
</script>

Without group label ​

The label prop is optional. Omit it when the context makes the purpose clear.