Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 906 Bytes

File metadata and controls

17 lines (10 loc) · 906 Bytes

Simple Angular Checkbox Component

(Unstyled) live demo

This repository demonstrates a simple Angular checkbox component inspired by the Angular Material Checkbox but without the dependency to any UI component library.

Checkout the component code

The motivation was to:

  • implement a simple, usable Angular checkbox component
  • based on good practices established by the Angular Material components (accessibility, tests, etc.)
  • without any dependency to an existing UI component library
  • usable without form, in template form and in reactive forms

Custom component styling was not considered in this example but it can easily be added in the checkbox.component.scss file.