JSPM

@vaadin/form-layout

22.0.0-alpha7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 42405
  • Score
    100M100P100Q153331F
  • License Apache-2.0

Web component providing configurable responsive layout for form elements

Package Exports

  • @vaadin/form-layout
  • @vaadin/form-layout/src/vaadin-form-item.js
  • @vaadin/form-layout/src/vaadin-form-layout.js
  • @vaadin/form-layout/theme/lumo/vaadin-form-item.js
  • @vaadin/form-layout/theme/lumo/vaadin-form-layout.js
  • @vaadin/form-layout/theme/material/vaadin-form-item.js
  • @vaadin/form-layout/theme/material/vaadin-form-layout.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@vaadin/form-layout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<vaadin-form-layout>

Live Demo ↗ | API documentation ↗

<vaadin-form-layout> is a Web Component providing configurable responsive layout for form elements, part of the Vaadin components.

npm version Published on Vaadin Directory Discord

<vaadin-form-layout>
  <vaadin-text-field label="First Name" value="Jane"></vaadin-text-field>
  <vaadin-text-field label="Last Name" value="Doe"></vaadin-text-field>
  <vaadin-text-field label="Email" value="jane.doe@example.com"></vaadin-text-field>
</vaadin-form-layout>

Screenshot of vaadin-form-layout

Installation

Install vaadin-form-layout:

npm i @vaadin/form-layout --save

Once installed, import it in your application:

import '@vaadin/form-layout/vaadin-form-layout.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.

Entry points

  • The components with the Lumo theme:

    theme/lumo/vaadin-form-layout.js theme/lumo/vaadin-form-item.js

  • The components with the Material theme:

    theme/material/vaadin-form-layout.js theme/material/vaadin-form-item.js

  • Alias for theme/lumo/vaadin-form-layout.js theme/lumo/vaadin-form-item.js:

    vaadin-form-layout.js vaadin-form-item.js

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.

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.