Home

Awesome

<p align="center"> <a href="https://vaadin.com" rel="noopener" target="_blank"><img width="100" src="https://raw.githubusercontent.com/vaadin/web-components/main/vaadin-logo.svg" alt="Vaadin logo"></a></p> </p> <h1 align="center">Vaadin web components</h1> <div align="center">

Vaadin components is an evolving set of high-quality web components for business web applications.

Build Follow on Twitter

</div>

Installation

Install the components that you need from npm:

npm install @vaadin/grid

Usage

Live demo →

Import the component's JavaScript module, use the component in your HTML, and control it with JavaScript:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Vaadin example</title>
  </head>
  <body>
    <!-- Use web components in your HTML like regular built-in elements. -->
    <vaadin-grid column-reordering-allowed multi-sort>
      <vaadin-grid-selection-column auto-select frozen></vaadin-grid-selection-column>
      <vaadin-grid-sort-column width="9rem" path="firstName"></vaadin-grid-sort-column>
      <vaadin-grid-sort-column width="9rem" path="lastName"></vaadin-grid-sort-column>
      <vaadin-grid-column width="9rem" path="address.city"></vaadin-grid-column>
    </vaadin-grid>

    <!-- Vaadin web components use standard JavaScript modules. -->
    <script type="module">
      // Importing the following modules registers <vaadin-grid> and its column
      // elements so that you can use them in this page.
      import '@vaadin/grid/vaadin-grid.js';
      import '@vaadin/grid/vaadin-grid-selection-column.js';
      import '@vaadin/grid/vaadin-grid-sort-column.js';

      // Use component's properties to populate data.
      const grid = document.querySelector('vaadin-grid');
      fetch('https://demo.vaadin.com/demo-data/1.0/people?count=200')
        .then((res) => res.json())
        .then((json) => (grid.items = json.result));
    </script>
  </body>
</html>

Serve your HTML with a development server that supports bare module specifiers, such as @web/dev-server:

npm i -g @web/dev-server
web-dev-server --node-resolve --open

Components

This project contains components for Vaadin 20+. Please see individual repositories for older Vaadin versions.

Core Components

The components below are licensed under the Apache License 2.0.

Componentnpm version (latest)npm version (next)Issues
<vaadin-accordion>npm versionnpm versionIssues
<vaadin-app-layout>npm versionnpm versionIssues
<vaadin-avatar>npm versionnpm versionIssues
<vaadin-avatar-group>npm versionnpm versionIssues
<vaadin-button>npm versionnpm versionIssues
<vaadin-checkbox>npm versionnpm versionIssues
<vaadin-checkbox-group>npm versionnpm versionIssues
<vaadin-combo-box>npm versionnpm versionIssues
<vaadin-confirm-dialog>npm versionnpm versionIssues
<vaadin-context-menu>npm versionnpm versionIssues
<vaadin-custom-field>npm versionnpm versionIssues
<vaadin-date-picker>npm versionnpm versionIssues
<vaadin-date-time-picker>npm versionnpm versionIssues
<vaadin-details>npm versionnpm versionIssues
<vaadin-dialog>npm versionnpm versionIssues
<vaadin-email-field>npm versionnpm versionIssues
<vaadin-form-layout>npm versionnpm versionIssues
<vaadin-grid>npm versionnpm versionIssues
<vaadin-horizontal-layout>npm versionnpm versionIssues
<vaadin-icon>npm versionnpm versionIssues
<vaadin-icons>npm versionnpm versionIssues
<vaadin-integer-field>npm versionnpm versionIssues
<vaadin-item>npm versionnpm versionIssues
<vaadin-list-box>npm versionnpm versionIssues
<vaadin-login>npm versionnpm versionIssues
<vaadin-menu-bar>npm versionnpm versionIssues
<vaadin-message-input>npm versionnpm versionIssues
<vaadin-message-list>npm versionnpm versionIssues
<vaadin-multi-select-combo-box>npm versionnpm versionIssues
<vaadin-notification>npm versionnpm versionIssues
<vaadin-number-field>npm versionnpm versionIssues
<vaadin-password-field>npm versionnpm versionIssues
<vaadin-popover>npm versionnpm versionIssues
<vaadin-progress-bar>npm versionnpm versionIssues
<vaadin-radio-group>npm versionnpm versionIssues
<vaadin-scroller>npm versionnpm versionIssues
<vaadin-select>npm versionnpm versionIssues
<vaadin-side-nav>npm versionnpm versionIssues
<vaadin-split-layout>npm versionnpm versionIssues
<vaadin-tabs>npm versionnpm versionIssues
<vaadin-tabsheet>npm versionnpm versionIssues
<vaadin-text-area>npm versionnpm versionIssues
<vaadin-text-field>npm versionnpm versionIssues
<vaadin-time-picker>npm versionnpm versionIssues
<vaadin-tooltip>npm versionnpm versionIssues
<vaadin-upload>npm versionnpm versionIssues
<vaadin-virtual-list>npm versionnpm versionIssues

Pro Components

The components below are licensed under Vaadin Commercial License and Service Terms and available as part of the Vaadin Pro Subscription.

Componentnpm version (latest)npm version (next)Issues
<vaadin-board>npm versionnpm versionIssues
<vaadin-charts>npm versionnpm versionIssues
<vaadin-cookie-consent>npm versionnpm versionIssues
<vaadin-crud>npm versionnpm versionIssues
<vaadin-dashboard>npm versionnpm versionIssues
<vaadin-grid-pro>npm versionnpm versionIssues
<vaadin-map>npm versionnpm versionIssues
<vaadin-rich-text-editor>npm versionnpm versionIssues

Browser support

Desktop:

Mobile:

Documentation

Check out our design system documentation.

Examples

Are you looking for an example project to get started? Visit start.vaadin.com to create a Vaadin app.

Questions

For help and support questions, please use Vaadin Forum.

Big Thanks

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

Contributing

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.

Development

See the Development guide for how to set up and develop this project locally.

LICENSE

For specific package(s), check the LICENSE file under the package folder.