
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
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
The npm package angular-naive-card receives a total of 2 weekly downloads. As such, angular-naive-card popularity was classified as not popular.
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.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.