@vaadin/card
TypeScript icon, indicating that this package has built-in type declarations

24.8.3 • Public • Published

@vaadin/card

A visual content container.

Documentation + Live Demo ↗

npm version

<vaadin-card class="flex flex-col overflow-hidden">
  <img
    src="https://images.unsplash.com/photo-1519681393784-d120267933ba?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=750&q=80"
    alt="">
  <div class="flex flex-col items-start p-m">
    <h3>Card Title</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut.</p>
    <span theme="badge">Label</span>
  </div>
</vaadin-card>

Screenshot of vaadin-card

Installation

Install the component:

npm i @vaadin/card

Once installed, import the component in your application:

import '@vaadin/card';

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 usage statistics at development time to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Package Sidebar

Install

npm i @vaadin/card

Weekly Downloads

18,911

Version

24.8.3

License

Apache-2.0

Unpacked Size

42.4 kB

Total Files

17

Last publish

Collaborators

  • web-padawan
  • diegocardoso
  • alvarezguille
  • platosha
  • jouni
  • manolo
  • yuriyyev
  • vaadin-owner
  • tomivirkki
  • artur-
  • sunzhewyq
  • sosa-vaadin
  • sissbruecker