All Projects → vaadin → vaadin-checkbox

vaadin / vaadin-checkbox

Licence: Apache-2.0 license
The Web Component for customized checkboxes. Part of the Vaadin components.

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vaadin-checkbox

Vaadin Core
An evolving set of free, open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 382 (+2022.22%)
Mutual labels:  polymer, webcomponents, web-components, vaadin
vaadin-context-menu
The responsive Web Component for showing context dependent items for any element on the page. Part of the Vaadin components.
Stars: ✭ 26 (+44.44%)
Mutual labels:  polymer, webcomponents, web-components, vaadin
Vaadin
An evolving set of open source web components for building mobile and desktop web applications in modern browsers.
Stars: ✭ 424 (+2255.56%)
Mutual labels:  polymer, webcomponents, web-components, vaadin
lego
🚀 Web-components made lightweight & Future-Proof.
Stars: ✭ 69 (+283.33%)
Mutual labels:  polymer, webcomponents, web-components
scheduler-component
A Web Component wrapper for FullCalendar library that uses Polymer version 2.0 and ES6.
Stars: ✭ 24 (+33.33%)
Mutual labels:  polymer, webcomponents, web-components
Vaadin Form Layout
The Web Component providing configurable responsive layout for form elements. Part of the Vaadin components.
Stars: ✭ 15 (-16.67%)
Mutual labels:  polymer, webcomponents, vaadin
Vaadin Combo Box
The Web Component for displaying a list of items with filtering. Part of the Vaadin components.
Stars: ✭ 113 (+527.78%)
Mutual labels:  polymer, webcomponents, vaadin
Vaadin Date Picker
The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
Stars: ✭ 158 (+777.78%)
Mutual labels:  polymer, webcomponents, vaadin
Vaadin Upload
The Web Component for uploading multiple files with progress indication. Part of the Vaadin components.
Stars: ✭ 87 (+383.33%)
Mutual labels:  polymer, webcomponents, vaadin
web-components
A set of high-quality standards based web components for enterprise web applications. Part of Vaadin 20+
Stars: ✭ 322 (+1688.89%)
Mutual labels:  webcomponents, web-components, vaadin
vaadin-dialog
High quality web component for modal dialogs. Part of the Vaadin platform.
Stars: ✭ 15 (-16.67%)
Mutual labels:  polymer, webcomponents, vaadin
smart-webcomponents-community
Material & Bootstrap Web Components built with Smart
Stars: ✭ 30 (+66.67%)
Mutual labels:  webcomponents, checkbox, web-components
toggle-icon
toggle-icon is a custom element created with Polymer. It provides an extremely powerful and customizable switch that looks like a paper-icon-button.
Stars: ✭ 21 (+16.67%)
Mutual labels:  polymer, webcomponents, web-components
vaadin-text-field
The themable Web Component providing input controls. Part of the Vaadin components.
Stars: ✭ 29 (+61.11%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-icons
Vaadin Icons is a collection of 600+ unique icons designed for web applications
Stars: ✭ 59 (+227.78%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-select
Customizable Web Component similar to a native browser select. Part of the Vaadin components.
Stars: ✭ 18 (+0%)
Mutual labels:  webcomponents, web-components, vaadin
multiselect-combo-box
A multi select combo box web component based on Polymer and the vaadin-combo-box
Stars: ✭ 41 (+127.78%)
Mutual labels:  polymer, webcomponents, vaadin
vaadin-split-layout
The Web Component which allows you to partition a layout into resizeable areas. Part of the Vaadin components.
Stars: ✭ 40 (+122.22%)
Mutual labels:  polymer, webcomponents, vaadin
file-fire
Simple way to upload and download files from Firebase Storage.
Stars: ✭ 13 (-27.78%)
Mutual labels:  polymer, webcomponents
web-components-good-practices
😎☑️ Good Practices for build Web Components.
Stars: ✭ 80 (+344.44%)
Mutual labels:  polymer, web-components

<vaadin-checkbox>

⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to the vaadin/web-components monorepository. This repository contains the source code and releases of <vaadin-checkbox> for the Vaadin versions 10 to 19.

<vaadin-checkbox> is a Web Component providing an accessible and customizable checkbox, part of the Vaadin components.

Live Demo | API documentation

npm version Published on webcomponents.org Published on Vaadin Directory Discord

<vaadin-checkbox checked>Checked</vaadin-checkbox>
<vaadin-checkbox>Unchecked</vaadin-checkbox>
<vaadin-checkbox indeterminate>Indeterminate</vaadin-checkbox>

Screenshot of vaadin-checkbox, using the default Lumo theme

Installation

The Vaadin components are distributed as Bower and npm packages. Please note that the version range is the same, as the API has not changed. You should not mix Bower and npm versions in the same application, though.

Unlike the official Polymer Elements, the converted Polymer 3 compatible Vaadin components are only published on npm, not pushed to GitHub repositories.

Polymer 2 and HTML Imports Compatible Version

Install vaadin-checkbox:

bower i vaadin/vaadin-checkbox --save

Once installed, import it in your application:

<link rel="import" href="bower_components/vaadin-checkbox/vaadin-checkbox.html">

Polymer 3 and ES Modules Compatible Version

Install vaadin-checkbox:

npm i @vaadin/vaadin-checkbox --save

Once installed, import it in your application:

import '@vaadin/vaadin-checkbox/vaadin-checkbox.js';

Getting Started

Vaadin components use the Lumo theme by default.

To use the Material theme, import the correspondent file from the theme/material folder.

The file structure for Vaadin components

  • The component with the Lumo theme:

    theme/lumo/vaadin-checkbox.html

  • The component with the Material theme:

    theme/material/vaadin-checkbox.html

  • Alias for theme/lumo/vaadin-checkbox.html:

    vaadin-checkbox.html

Running demos and tests in a browser

  1. Fork the vaadin-checkbox repository and clone it locally.

  2. Make sure you have npm and Bower installed.

  3. When in the vaadin-checkbox directory, run npm install and then bower install to install dependencies.

  4. Run npm start, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running tests from the command line

  1. When in the vaadin-checkbox directory, run polymer test

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Big Thanks

Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.

Contributing

To contribute to the component, please read the guideline first.

License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].