Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 853 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 853 Bytes

b-card-wc

This a very basic card for a web component workshop I did for teaching. So, basically this card receives parameters and outputs a styled component with the data you provided.

Installation

Make sure you have Node/npm cli installed. Then, just type the following command:

$ npm install b-card-web-component

Usage

Add a element to your page and set the convenient parameters as attributes that the component needs in order to get styled a card. For e.g:

<b-card title="An example Card" description="This is a example of a styled card!" />

Above element will show a card centered at your page, likewise you can custom the styles

So that's it!

Hope you enjoy and makes me happy you contribute to this component, just make me a pull request with your desired features for the card. 🧡