https://github.com/paraboly/pwc-simple-card
Plug & Play Simple Card View for Web by Paraboly via StencilJS
https://github.com/paraboly/pwc-simple-card
Last synced: 4 months ago
JSON representation
Plug & Play Simple Card View for Web by Paraboly via StencilJS
- Host: GitHub
- URL: https://github.com/paraboly/pwc-simple-card
- Owner: Paraboly
- License: mit
- Created: 2020-03-10T09:22:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T09:36:30.000Z (over 3 years ago)
- Last Synced: 2025-06-15T02:09:00.917Z (12 months ago)
- Language: TypeScript
- Homepage: https:/paraboly.com
- Size: 696 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README


[](https://github.com/Paraboly/pwc-simple-card)
[](https://www.npmjs.com/package/@paraboly/pwc-simple-card)
[](https://www.npmjs.com/package/@paraboly/pwc-simple-card)

[](https://opensource.org/licenses/MIT)
## [Live Codepen Example](https://codepen.io/mertuslu12/pen/WNvzOJd)
## Installation
### Script tag
- Put two script tags similar to this in the head of your index.html:
```html
```
- Then you can use the element anywhere in your template, JSX, html etc
### Node Modules
- Run `npm install @paraboly/pwc-simple-card --save`
- Put a script tag similar to this `` in the head of your index.html
- Then you can use the element anywhere in your template, JSX, html etc
### In a stencil-starter app
- Run `npm install @paraboly/pwc-simple-card --save`
- Add an import to the npm packages `import @paraboly/pwc-simple-card;`
- Then you can use the element anywhere in your template, JSX, html etc
# Usage
## Basic Usage
This is just an example from pwc-simple-card, you need to change it!
```html
```
### JS Way
This is just an example from pwc-simple-card, you need to change it!
```js
const pwcSimpleCard = document.querySelector("pwc-simple-card");
pwcSimpleCard.source = require("assets/your-img");
```
## Future Plans
- [x] ~~Documentation~~
- [ ] Dark Theme
## Authors
Mert Uslu, u.mertuslu@gmail.com
## License
WebComponent PWC SimpleCard is available under the MIT license.
See the LICENSE file for more info.