Introduction
Installation
Next.jsViteLaravelReact RouterRemixAstroTanStack StartTanStack RouterManual InstallationMCP
All componentsTheme
FieldFormInputText FieldTextareaSearch FieldInput OTPNumber FieldNumber FormatSliderCheckboxSwitchRadioSelectCombo BoxList BoxChoice BoxMulti SelectToken FieldNewTag FieldTag GroupCalendarDate FieldDate PickerDate Range PickerRange CalendarTime FieldColor PickerColor FieldColor AreaColor SliderColor SwatchColor Swatch PickerColor ThumbColor WheelDrop ZoneFile Trigger
ButtonButton GroupToggleToggle GroupPreskok Auth Button
EditorHeadingLinkTextKeyboard
CardContainerGrid ListResizableTableTreeSeparatorDescription ListScroll AreaShow MoreToolbar
BreadcrumbsNavbarPaginationTabsSidebar
DialogModalDrawerPopoverPreview TriggerNewSheetTooltipContext MenuDropdownCommandCommand MenuDisclosureMenu
ToastProgress BarProgress CircleMeterLoaderSkeletonNoteBadge
Chart (helpers)Area ChartBar ChartLine ChartPie ChartExperimental ChartsNewExperimental Radial ChartNewExperimental Radar ChartNewBar ListTracker
Async ImageAvatarCarouselPreskok Icon
Forms

Radio

Radio and RadioGroup components with field integration.

View as MarkdownAsk ChatGPT

Installation

npx shadcn@latest add @preskok/radio

Usage

import { Radio, RadioGroup } from "@/components/ui/preskok-ui/radio"

export function RadioDemo() {
  return (
    <RadioGroup label="Plan" defaultValue="basic">
      <Radio value="basic">Basic</Radio>
      <Radio value="pro">Pro</Radio>
    </RadioGroup>
  )
}

Examples

Validation

Controlled

Switch

An accessible switch component for boolean inputs.

Select

A select component with searchable options and custom styling.

On this page

Installation
Usage
Examples
Validation
Controlled
Vehicle TypeSelect the type of vehicle you're interested in
PowertrainChoose the drivetrain for your next vehicle
Body style
Selected body style: -