Mokkapps / simple-angular-checkbox-component

A very simple Angular checkbox component

Home Page:https://simple-angular-checkbox-component.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A very simple Angular checkbox component

https://simple-angular-checkbox-component.netlify.com/

License:MIT License


Languages

Language:TypeScript 89.1%Language:JavaScript 5.6%Language:HTML 5.1%Language:CSS 0.3%