@umbraco-ui/uui-radio
TypeScript icon, indicating that this package has built-in type declarations

1.12.2 • Public • Published

uui-radio

npm

See it in action

Preview the component on Storybook

Installation

ES imports

npm i @umbraco-ui/uui-radio

Import the registration of <uui-radio-group> and <uui-radio> via:

import '@umbraco-ui/uui-radio';

When looking to leverage the UUIRadioGroupElement or UUIRadioElement base class as a type and/or for extension purposes, do so via:

import { UUIRadioGroupElement } from '@umbraco-ui/uui-radio';
import { UUIRadioElement } from '@umbraco-ui/uui-radio';

Usage

<uui-radio-group name="Options">
  <uui-radio value="1">Option 1</uui-radio>
  <uui-radio value="2">Option 2</uui-radio>
  <uui-radio value="3">Option 3</uui-radio>
  <uui-radio value="4">Option 4</uui-radio>
</uui-radio-group>

Package Sidebar

Install

npm i @umbraco-ui/uui-radio

Weekly Downloads

1,143

Version

1.12.2

License

MIT

Unpacked Size

36.3 kB

Total Files

10

Last publish

Collaborators

  • nielslyngsoe
  • julczka
  • ijacob
  • madsrasmussen
  • umbraco-publish
  • warrenbuckley.umbraco