@hudoro/checkbox
v0.0.1-beta.6
Published
checkbox component for Hudoro UI
Downloads
1,137
Readme
Hudoro checkbox
Hudoro checkbox is a strict and customizable checkbox component for web development projects, designed for simplicity and adherence to strict design guidelines.
Screenshots
Package instalation
Instal package using pnpm
pnpm add @hudoro/checkbox
Instal package using yarn
yarn add @hudoro/checkbox
Instal package using npm
npm i @hudoro/checkbox
Usage/Examples (you can combine using icon package hudoro)
import React from "react";
import {Checkbox} from "@hudoro/checkbox";
import ReactDOM from "react-dom/client";
const App = () => (
<div>
<h1>Component test</h1>
<Checkbox label="HSD Checkbox" />
</div>
);
ReactDOM.createRoot(document.getElementById("app")!).render(<App />);
Props @hudoro/checkbox
Props that you can pass to <Checkbox {...props} />
| Prop Name | Value | required | | :-------- | :----------------- | :------- | | sizes | "sm" / "md" / "lg" | false | | label | string | false |