Pure css checkboxes and radio buttons for Twitter Bootstrap.
npm install icheck-bootstrapbower install icheck-bootstrap
npm install icheck-bootstrap
Install-Package icheck-bootstrap
`
#### radio buttons example
`
`
#### inline styling
To have checkboxes or radio buttons inline use .icheck-inline class
`
`
#### disabled
Use disabled attribute on your input (checkbox or radio) to have disabled style.
#### no label
To have components without label, you still have to have label control with empty text.
`
`
ASP.NET MVC syntax
#### checkbox example
`
@Html.CheckBoxFor(m => m.SomeProperty, new { id = "someCheckboxId" })
`
#### radio buttons example
`
@Html.RadioButtonFor(m => m.SomeProperty, SomeValue1, new { id = "someRadioId1" })
@Html.RadioButtonFor(m => m.SomeProperty, SomeValue2, new { id = "someRadioId2" })
``
.icheck-default.icheck-primary.icheck-success.icheck-info.icheck-warning.icheck-danger
.icheck-turquoise.icheck-emerland.icheck-peterriver.icheck-amethyst.icheck-wetasphalt.icheck-greensea.icheck-nephritis.icheck-belizehole.icheck-wisteria.icheck-midnightblue.icheck-sunflower.icheck-carrot.icheck-alizarin.icheck-clouds.icheck-concrete.icheck-orange.icheck-pumpkin.icheck-pomegranate.icheck-silver.icheck-asbestos