Hudoro radio is a strict and customizable radio component for web development projects, designed for simplicity and adherence to strict design guidelines.
Instal package using pnpm
pnpm add @hudoro/radio
Instal package using yarn
yarn add @hudoro/radio
Instal package using npm
npm i @hudoro/radio
import React from "react";
import {Radio} from "@hudoro/radio";
import ReactDOM from "react-dom/client";
const App = () => (
<div>
<h1>Component test</h1>
<Radio label="hello " sizes="sm" />
<Radio label="Hay " sizes="sm" />
</div>
);
ReactDOM.createRoot(document.getElementById("app")!).render(<App />);
Prop Name | Value | required |
---|---|---|
size | "sm" / "md" / "lg" | false |
label | string | false |