Checkbox

A control that allows the user to toggle between checked and not checked.

PreviousNext

Installation

1

Run the CLI

Use the CLI to add the component to your project.

npx @ngzard/ui@latest add checkbox

Examples

default

destructive

size

shape

disabled

API

[z-checkbox] Directive

z-checkbox is a Directive that brings you a customizable checkbox with minimal configuration

To get a customized checkbox, just pass the following props to the directive.

Property Description Type Default
zType checkbox type default | destructive default
zSize checkbox size default | lg default
zShape checkbox shape default | circle | square default
zDisabled checkbox disabled state boolean false