@nexim/card
Version:
CSS classes for Material Design 3 card.
36 lines (22 loc) • 767 B
Markdown
# @nexim/card




## Overview
a CSS utility for rendering Material Design cards with consistent styling.
## Installation
Install the package using npm or yarn:
```sh
npm install @nexim/card
# Or using yarn
yarn add @nexim/card
```
## API
import `@nexim/card/style/main.css` into your main css file
- use like that
```html
<span class="card-filled">home</span>
<!-- make card hoverable, clickable, and activeable -->
<span class="card-filled stateful">home</span>
```