
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
angular-naive-card
Advanced tools
Super simple angular component to show data in a card.
bower install angular-naive-card
npm install angular-naive-card
<script type="text/javascript" src="bower_components/angular-naive-card/dist/angular-naive-card.js"></script>
cabargues.naive-card as a dependency in your modulevar myapp = angular.module('myapp', ['cabargues.naiveCard'])
<div naiveCard data=data></span>
The expected data structure is the following:
data = {
title: 'title shown in the card',
content: 'content to shown below the title',
img: 'image to show',
url: 'url to redirect the user on image click'
}
You have several ways to customize the UI to meet your project requirements.
git clone https://github.com/cabargues/angular-naive-card.git
// Contains all the styling for naive-card component
// Container
$naive-card-max-width: 100% !default;
$naive-card-margins: 5px !default;
$naive-card-container-margin: 0 !default;
$naive-card-figure-max-width: 100% !default;
npm run-script build
All scss properties are declared as !default so you can import the .scss file and override the values with the ones that best fits your project.
Tests
FAQs
Super simple angular component to show data in a card
We found that angular-naive-card demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.

Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.

Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.