wired-card

v1.0.0arrow_drop_down
v1.0.0
v0.9.2
STATUS
Passing
DOWNLOADS
16
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 months ago
subject
wired-card is s a container for other web elements - with a hand-drawn, wireframe like, look.
1 contributor
Like
Use wired-card in your project ?
Copied
npm i @bit/wiredjs.wired-elements.wired-card
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
modified
chevron_left
chevron_right

wired card

wired-card

wired-card is s a container for other web elements - with a hand-drawn, wireframe like, look.

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-card to your project:

npm i wired-card

Import wired-card definition into your HTML page:

<script type="module" src="wired-card/lib/wired-card.js"></script>

Or into your module script:

import { WiredCard } from "wired-card"

Use it in your web page:

<wired-card>
  <p>Elevation: 1</p>
</wired-card>

<wired-card elevation="3">
  <p>Elevation: 3</p>
</wired-card>

Properties

elevation - Numerical number between 1-5 (inclusive) - sets the elevation of the card. Default is 1.

Methods

requestUpdate() - When dynamically adding content to the card, call this method to recompute the boundaries of the card.

License

MIT License © Preet Shihn