@acodez/checkbox

Checkbox component

Usage no npm install needed!

<script type="module">
  import acodezCheckbox from 'https://cdn.skypack.dev/@acodez/checkbox';
</script>

README

@acodez/checkbox

npm_version license

React checkbox component.



Installation

npm install @acodez/checkbox

Props API

Property Type Required Description
label string yes label of the checkbox
name string yes name attribute of checkbox
display string no display checkboxes inline or block

Usage

import CheckBox from "@acodez/checkbox";

Example - Basic

<CheckBox name="name" label="I agree to terms and conditions" />