Skip to content

Radio

The radio filter type allows selecting one option from a list. It supports both inline (popover-based) and vertical (sidebar-style) layouts.

Component API

PropTypeDescription
type'radio'Must be set to 'radio'
optionsListItem[]List of selectable options
labelstringLabel displayed with the input
layout'inline' | 'vertical'Display style of the field
limitnumberMaximum visible options in the popover (optional)

Examples

Inline Radio Filter

Compact layout with options inside a popover:

vue
<FilterField
    name="source"
    type="radio"
    label="Source"
    layout="inline"
    :options="sourceOptions"
    v-model="searchQuery"
/>

Vertical Radio Filter

Stacked options for sidebar or filter panel:

vue
<FilterField
    name="source"
    type="radio"
    label="Source"
    layout="vertical"
    :options="sourceOptions"
    v-model="searchQuery"
/>
Source
Показати більше