Skip to main content
← Back to Table of Contents

Summary

A modern replacement for Filament’s native Radio component. FlexRadiolist adds support for per-option icons, rich descriptions, and custom sizing via CSS variables. It also features a “label-only” variant for compact layouts.

Basic usage

Standard list with descriptions

List with icons and colors


State & validation

Stored value

State is the option key from options().

Validation

The field automatically validates that the selected value exists in the configured options.

Variants

Default

Shows labels, descriptions (if set), and icons (if set) in a vertical list of cards.

Label-only

A more compact version that hides icons and descriptions, focusing only on the labels.

Configuration API

All methods accept Closure unless noted.

Real-world examples

Plan Selection Card


Playground

/admin/flex-fields-playground/flex-radiolist See Playground for setup.

CSS classes (reference)