open-index/open-npm huggingface dataset:
npm package: @nlt-design-system/card
Description: A Material Design inspired card web component that can be used in any web application, regardless of the framework.
Latest version: 0.0.1

# @nlt-design-system/card

A Material Design inspired card web component that can be used in any web application, regardless of the framework.

## Installation

```bash
npm install @nlt-design-system/card
```

## Usage

```html
<nlt-card title="Card Title" elevation="1">
  <div>Card content goes here</div>
</nlt-card>
```

## Attributes

| Attribute  | Description                                                | Default |
|------------|------------------------------------------------------------|---------|
| title      | The title to display in the card header                    | ""      |
| elevation  | The shadow elevation level (0-5)                           | "1"     |

## Methods

| Method              | Description                               |
|---------------------|-------------------------------------------|
| attributeChangedCallback | Handles attribute changes           |
| connectedCallback   | Called when element is added to the DOM   |
| disconnectedCallback| Called when element is removed from the DOM |

## Building

Run `nx build card` to build the library.

## Running unit tests

Run `nx test card` to execute the unit tests.