Skip to content
wdj

Radio

Implemented Input

Radio group, vertical and horizontal.

Kumo reference: kumo-ui.com/components/radio/

Presentation commands show demo feedback. Read the interaction guide to connect real actions.

Vertical

Notification preference
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_vertical" options=audit_radio_notifications legend="Notification preference" selected="email" only %}

Horizontal

Billing interval
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_horizontal" options=horizontal_options legend="Billing interval" orientation="horizontal" selected="monthly" only %}

Descriptions

Plan options
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_descriptions" options=plans legend="Plan options" only %}

Required

Required plan
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_required" options=plans legend="Required plan" required=True only %}

Error

Plan
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_error" options=plans legend="Plan" error="Choose a plan." only %}

Disabled option

Available plans
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_disabled_option" options=disabled_plans legend="Available plans" only %}

Segmented

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_segmented" legend="Plan selection" appearance="segmented" only %}

Disabled group

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_disabled_group" legend="Plan selection" disabled=True only %}

Disabled segmented

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_disabled_segmented" legend="Plan selection" disabled=True appearance="segmented" only %}

Hidden legend

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_hidden_legend" legend="Plan selection" hide_legend=True only %}

Group description

Plan selection

Choose a configuration.

Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_group_description" legend="Plan selection" description="Choose a configuration." only %}

Trailing control

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_trailing_control" legend="Plan selection" control_position="end" only %}

Cards

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_cards" legend="Plan selection" appearance="card" only %}

Cards with trailing control

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_cards_with_trailing_control" legend="Plan selection" appearance="card" control_position="end" only %}

Horizontal cards

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_horizontal_cards" legend="Plan selection" appearance="card" orientation="horizontal" only %}

Numeric values

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_numeric_values" legend="Plan selection" options=numeric_plans selected=25 only %}

Rich labels

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="radio_rich_labels" legend="Plan selection" options=badged_plans appearance="card" only %}

Horizontal segmented

Plan selection
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with options=plans selected="pro" name="radio_horizontal_segmented" legend="Plan selection" appearance="segmented" orientation="horizontal" only %}

Controlled state

Selected plan
free
Show template
{% load wdj %}
<div x-data="{ value: 'free' }" @change="value=$event.target.value" class="grid gap-3">{% include "wdj/components/radio_group.html" with options=plans selected="free" name="radio_controlled" legend="Selected plan" only %}<output class="text-base text-kumo-subtle" aria-live="polite" x-text="value">free</output></div>

Long labels and narrow layouts

Deployment
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="audit-long-radio" legend="Deployment" options=audit_long_radio appearance="segmented" only %}

Custom legend styling

Choose a deployment
Show template
{% load wdj %}
{% include "wdj/components/radio_group.html" with name="audit-legend-radio" legend="Choose a deployment" legend_class="text-lg" options=audit_long_radio only %}

API Reference

Prop Type Default Description
string unset Name; pass the documented value shown in the examples.
list[dict] [] Select: value/label/display_label/disabled/selected or groups with options. Combobox input: value/label/disabled/group/icon/description; button search also supports Select groups.
string / number unset Initial server selection: one value, a list for multiple=True, or selected flags on native options.
string unset Legend; pass the documented value shown in the examples.
string unset Legend class; pass the documented value shown in the examples.
string unset Description; pass the documented value shown in the examples.
string unset Validation message; implies error styling and accessible error association.
string component-specific Variant; pass the documented value shown in the examples.
bool False Required; pass the documented value shown in the examples.
bool False Disabled; pass the documented value shown in the examples.
string unset Orientation; pass the documented value shown in the examples.
string unset Checkbox: card or default. Radio: default/card/segmented. Badge: filled/dot.
string unset Control position; pass the documented value shown in the examples.
bool False Hide legend; pass the documented value shown in the examples.
string unset Stable unique DOM ID; important for HTMX targets and focus restoration.
dict {} Dictionary of escaped native, HTMX or Alpine attributes. Literal Tailwind classes only.
string "" Class; pass the documented value shown in the examples.

Accessibility notes

Every interactive component keeps real semantics and keyboard support: native controls where possible, ARIA only where necessary, and a visible focus ring. See the Accessibility page for the shared contract.

Read the accessibility contract

Components

Components overview
AutocompleteFree-form input with local or HTMX-filtered suggestions.
BadgeSolid, tinted, outline and dot status labels.
BannerInline message bar with variants and optional action.
BreadcrumbsTrail navigation in two sizes.
ButtonVariants, sizes, shapes, icons and loading state.
ButtonGroupJoins a small set of tightly-coupled buttons into a single control (split buttons).
CheckboxSingle checkbox and indeterminate state.
ClipboardTextRead-only text field with a one-click copy-to-clipboard button.
Code / CodeHighlightedEscaped Pygments grammar highlighting, multiline tokens, line numbers, highlighted lines and localized copying.
CollapsibleComposable disclosure component for showing and hiding content.
Combobox / AutocompleteKumo-styled input/button triggers, search inside the popup, grouped local choices and debounced HTMX search.
CommandPaletteAccessible spotlight search overlay with Cmd+K keyboard shortcut.
DatePickerKumo-styled date and datetime popups; inline single, multiple and range calendars with bounds/presets.
DateRangePickerStyled popup or inline range calendar with bounds, presets and separately named form values.
DialogNative <dialog> modal with focus management.
DrawerEdge-anchored modal panel. LayerDialog has its own layered component.
DropdownMenuNative details menu with delegated keyboard navigation and dismissal.
EmptyEmpty-state placeholder with icon and action.
FieldLabel + description + error wrapper. Built into each control.
FlowDirected diagrams with branches, SVG connectors, custom anchors and responsive local scrolling.
GridResponsive CSS grid layout container with preset column configurations.
InlineCopyTextCompact borderless copy control for IDs and short values.
InputText field with label, description, leading/trailing icons.
InputAreaMulti-line textarea with auto-resize option.
InputGroupInput field with seamless prefix, suffix, and addon attachments.
LabelForm field label, optional marker and tooltip.
LayerCardCompound surface card with distinct primary and secondary layers.
LayerDialogLayered native modal with actions, forms, nested dialogs and pending states.
LinkInline, current and plain text links.
LoaderAnimated spinner in three sizes.
MenuBarCompact view selector using native radio semantics.
MeterProgress bar showing a measured value within a known range.
PaginationA page navigation component for navigating through paginated content.
PopoverAnchored popup with interactive content.
RadioRadio group, vertical and horizontal.
SelectKumo-styled Alpine dropdown with groups, rich options and multiple selection; native form values and fallback.
SensitiveInputPassword/secret input with reveal toggle and copy button.
SeparatorHorizontal / vertical rules with optional label.
SidebarRecursive navigation groups, account/zone views, search, loading, resize and full-screen mobile breadcrumbs.
SkeletonShimmer placeholder.
SliderInset single/range selection with vertical grips, value badges, endpoint labels and native keyboard/form behavior.
SurfaceBordered surface panel with header slot.
SwitchOn/off toggle in three sizes.
TableServer-driven table: sort, filter, select and paginate the full dataset.
Table of contentsPage section navigation tree with active link indicator.
TabsSegmented and underline tabs with a sliding indicator, responsive overflow and local Alpine or URL/HTMX state.
TagInputMulti-value badge input for tags and recipients.
TextHeading, body, secondary, success, error and mono text.
ToastyExpandable notification stack with variants, paused expiry and a live region.
ToolbarCompact grouped controls with shared borders, composed filters and keyboard arrow navigation.
TooltipHover and focus tooltip with grouped delays, Escape dismissal and viewport bounds.
↑ ↓ Navigate ↵ Select