🤩
Windframe Import Update is finally here.

Checkbox

Angular Bootstrap Checkbox

Angular Bootstrap Checkbox is a component used for allowing a user to make multiple choices. Broadly used in the forms and surveys.

Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many.

Importing the Contrast Angular Bootstrap Checkbox Module

To use the Contrast Angular Bootstrap Card component in your project you need to import CheckboxModule.

typescript
import {CheckboxModule } from 'cdbangular';

Default Checkbox

For the default Contrast Angular Bootstrap Checkbox, use the CDBInput component and pass in a type prop with its value set to checkbox

Angular Bootstrap Checkbox Default

html
html
<CDBInput type="checkbox"></CDBInput>

CDBCheckbox

Angular Bootstrap Checkbox

html
html
<CDBCheckbox class="mt-5"></CDBCheckbox>

Disabled state

Simply add the disabled boolean attribute to CDBCheckbox

Angular Bootstrap Checkbox

html
html
<CDBCheckbox disabled="true"></CDBCheckbox>

API Reference: Contrast Checkbox Bootstrap Inputs

This section will build on your information about the props you get to use with the Contrast Angular Bootstrap Badge component. You will find out what these props do, their default values, and how you would use them in your code.

The table below lists other prop options of the CDBCheckbox component.

NameTypeDefaultDescriptionExample
classStringAdds custom classesclass="myClass"
disableBooleanfalseDisables Checkbox componentdisabled=true

Trying to build out all user interfaces and components for your website or web app from scratch can become a very tedious task. A huge reason why we created Contrast Bootstrap to help reduce the amount of time we spend doing that, so we can focus on building some other aspects of the project. Contrast Bootstrap PRO consists of a UI Kit featuring over 10000+ component variants. Together with a template of 5 admin dashboards and 23+ additional multipurpose pages template for building almost any type of website or web app. You can view a demo and learn more about Contrast by clicking here.Download the free react template

ad-banner

Contrast Bootstrap PRO was built using the most popular CSS framework Bootstrap to help build your next landing, admin SAAS, prelaunch etc project with a clean, prebuilt and well documented template and UI components.Learn more about Contrast