# TallStackUI: Radio > TallStackUI is a TALL Stack (Tailwind CSS, Alpine.js, Laravel, Livewire) > component library providing 65+ Blade components for building modern web interfaces. A radio button input component with configurable sizes, label positioning, and color theming through the TallStackUI color system. ## Basic Usage ```blade ``` ```blade ``` ```blade ``` ## Attributes | Attribute | Type | Default | Description | |------------|-----------------------------|-----------|---------------------------------------------------------------------------------| | label | string\|ComponentSlot\|null | null | Label text displayed next to the radio button | | xs | string\|null | null | Sets radio size to extra small when present | | sm | string\|null | null | Sets radio size to small when present | | md | string\|null | null | Sets radio size to medium (default) when present | | lg | string\|null | null | Sets radio size to large when present | | position | string\|null | 'right' | Label position relative to the radio button: 'left' or 'right' | | color | string\|null | 'primary' | Color theme for the radio button (e.g., 'primary', 'secondary', 'red', 'green') | | invalidate | bool\|null | null | Prevents displaying validation error messages | ## Colors This component supports the TallStackUI color system via the `color` attribute. Available colors include all Tailwind CSS color names. The color affects the selected state fill of the radio button. ## Soft Customization Soft customization allows you to override default Tailwind CSS classes used by this component at runtime, either through a service provider or scoped per-instance. ### Customization ```php TallStackUi::customize() ->form('radio') ->block('input.class', 'your-tailwind-classes'); ``` ### Available Blocks | Block Name | Purpose | |----------------|--------------------------------------------------------------| | input.class | Core radio input styles (form-radio, border, rounding, ring) | | input.sizes.xs | Extra small radio dimensions | | input.sizes.sm | Small radio dimensions | | input.sizes.md | Medium radio dimensions | | input.sizes.lg | Large radio dimensions | | error | Error state border and text colors |