
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ppci/custom-card
Advanced tools
npm i @ppci/custom-card
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
import '@ppci/custom-card'
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-button/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci/custom-button/builds/legacy.min.js" />
<!-- Component -->
<custom-card
sourceId=${String}
title=${String}
subtitle=${String}
description=${String}
imageUrl=${String}
.sourceMix=${Object}
@card-click=${Function}
?hoverEffect=${Boolean}
>
<div>Add additional slotted content here</div>
</custom-card>
We have a predefined powerpeers theme ready for you! Just add the theme-powerpeers boolean attribute to your custom-card.
<custom-card
theme-powerpeers>
</custom-card>
Not completely satisfied with our powerpeers theme? Well you can do it yourself. We have a set of css variables available for you.
custom-card {
--theme-card-background: white;
--theme-border-radius: 4px;
}
| Property | Type | Description | Possible Values |
| *sourceId* | String | Use this as an identifier | `1` `69acf486-96f3` |
| *title* | String | Title of the card | |
| *subtitle* | String | Subtitle of the card | |
| description | String | Description of the card | |
| *imageUrl* | String | Local or global image url | `http://domain.com/image.jpg` `/images/image.jpg` |
| sourceMix | Object | Sourcemix details | |
| hoverEffect | Boolean | Show or hide the hover effect | True/False |
| Theme | |||
| theme-powerpeers | Boolean | Apply predefined powerpeers theme | ```html ``` |
| Name | Description | Payload |
| @card-click | Card has been clicked | ```{ id: '1' }``` |
FAQs
Custom Card
We found that @ppci/custom-card demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.