The Vue Radio Button is a custom radio-type HTML5 input component for selecting one option from a list of predefined choices. It supports different states, sizes, labels, label positions, and UI customizations.
You can make use of the different sizes of radio button (default and small) as required in your application.
The label used to define the Vue Radio Button caption. You can caption the radio button and position the label either before or after the radio button.
The Vue Radio Button UI (inner and outer circles) has the support for complete customization of its appearance.
The Vue Radio Button is used to select a single option from the logically grouped options set.
Seamlessly supports HTML forms, template-driven forms (Angular), and reactive forms.
The Vue Radio button component supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
Easily get started with the Vue Radio Button using a few simple lines of Vue codes as demonstrated below. Also explore our Vue Radio Button Example that shows you how to render and configure a Radio Button in Vue.
<template>
<ul>
<li><ejs-radiobutton label='Option 1' name='default'></ejs-radiobutton></li>
<li><ejs-radiobutton label='Option 2' name='default' checked=true></ejs-radiobutton></li>
</ul>
</template>
<script>
import Vue from 'vue';
import { RadioButtonPlugin } from "@syncfusion/ej2-vue-buttons";
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
Vue.use(RadioButtonPlugin);
export default {}
</script>
<style>
@import "../node_modules/@syncfusion/ej2-base/styles/material.css";
@import "../node_modules/@syncfusion/ej2-buttons/styles/material.css";
.e-radio-wrapper {
margin-top: 18px;
}
li {
list-style: none;
}
</style>
The Radio button component is also available in Blazor, React, Angular, and JavaScript frameworks. Check out the different Radio button platforms from the links below,
You can find our Vue Radio Button demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.