
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@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
The npm package @ppci/custom-card receives a total of 2 weekly downloads. As such, @ppci/custom-card popularity was classified as not popular.
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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.