Appearance
In this article, you will find information about the styling options and rendering of the Kendo UI RadioButton.
For a live example, visit the Appearance Demo of the RadioButton.
Options
The size
option controls how big or small the rendered RadioButton looks. The structure of the applied class is k-radio-{size}
.
The available size
values are:
small
-
medium
(Default) large
The example below shows a basic configuration and how to set size to "small" option.
<input id="radiobutton" />
<script>
$("#radiobutton").kendoRadioButton({
size: "small"
});
</script>
Rendering
Starting with version R1 2022, the component has a new rendering. For additional information on the decision behind these changes, visit the Components Rendering Overview article.
To review the latest rendering of the component, refer to the HTML specifications in the Kendo UI Themes Monorepo. The tests
folder of the repository contains the rendering for all flavors of the components, providing a clear reference for how their elements are structured. The rendering information can help you customize a component's appearance and behavior by applying custom CSS or JavaScript to suit specific design or functional requirements.