Skip to contents

Generated wrapper for the Web Awesome wa-radio component. Generated from Web Awesome metadata.

Usage

wa_radio(
  ...,
  id = NULL,
  class = NULL,
  style = NULL,
  value = NULL,
  disabled = NULL,
  name = NULL,
  appearance = NULL,
  custom_error = NULL,
  dir = NULL,
  lang = NULL,
  size = NULL
)

Arguments

...

Child content for the component's default slot.

id

Optional DOM id attribute for HTML, CSS, and JS targeting.

class

Optional CSS class string.

style

Optional inline CSS style string.

value

String. The radio's value. When selected, the radio group will receive this value.

disabled

Boolean. Default: FALSE. Disables the radio.

name

String. Default: null. The name of the input, submitted as a name/value pair with form data.

appearance

Enumerated string. Allowed values: button, default. Default: default. The radio's visual appearance.

custom_error

String. Default: null. Optional Web Awesome attribute.

dir

String. Optional Web Awesome attribute.

lang

String. Optional Web Awesome attribute.

size

Enumerated string. Allowed values: large, medium, small. The radio's size. When used inside a radio group, the size will be determined by the radio group's size, which will override this attribute.

Value

An HTML tag for the component.

Shiny Bindings

None.