npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ng-cards-ap

v1.0.8

Published

I have designed this card package to help people like me searching for a card template to add in their Angular project. This card design consists of various dynamic things which will help you to create different types of card: With Image, without image et

Downloads

37

Readme

Ng Cards AP: Beautiful Card with multiple usage (Angular)

I have designed this card package to help people like me searching for a card template to add in their Angular project. This card design consists of various dynamic things which will help you to create different types of card: With Image, without image etc. I am continuously contributing to this thing and If you like this after using, consider give me a star.

Sample Images

1. Basic / Simple without image

Screenshot

2. With Image and without border

Screenshot

3. With Image and with border

Screenshot

How it works

  1. Run npm install ng-cards-ap in your angular project which will add this package to your package.json file.
  2. Import NgCardModule in your Module that will be using this card component.
  3. You have successfully setup the ng-card-ap.

Example, Sample Usage (Basic card)

Insert the below code to the html page where you need the card.

<ng-card-ap
  [Title]="'Food and colors'"
  [Subtitle]="'Written by: Rohn Rose'"
  [Description]="'Some sort of description that will make this card looks better
               and you can showcase your website with good content.'"
>
</ng-card-ap>

Great! This is all you need as part of initial usage.

What's more

Bordered Card

This property will help you add border to your card, so that it can be blend with the other style of your page.

[Border]="true" : Default is false` ---------------------------------------

<ng-card-ap
  [Border]="true"
  [Title]="'Food and colors'"
  [Subtitle]="'Written by: Rohn Rose'"
  [Description]="'Some sort of description that will make this card looks better
               and you can showcase your website with good content.'"
>
</ng-card-ap>

Hoverable Card

This property will help you add hoverable behaviour to your card, it will help you to stylize your boring card.

[Hoverable]="true" : Default is false ---------------------------------------

<ng-card-ap
  [Hoverable]="true"
  [Title]="'Food and colors'"
  [Subtitle]="'Written by: Rohn Rose'"
  [Description]="'Some sort of description that will make this card looks better
               and you can showcase your website with good content.'"
>
</ng-card-ap>

Image Card

Image property in the card is to add Image in the card, there can be a usecase when this kind of thing is required to show image cards

[Image]="'https://upload.wikimedia.org/wikipedia/commons/3/36/Hopetoun_falls.jpg'"
----------------------------------------------------------------------------------

<ng-card-ap
  [Image]="'https://upload.wikimedia.org/wikipedia/commons/3/36/Hopetoun_falls.jpg'"
  [Title]="'Food and colors'"
  [Subtitle]="'Written by: Rohn Rose'"
  [Description]="'Some sort of description that will make this card looks better
               and you can showcase your website with good content.'"
>
</ng-card-ap>

Overall element Usage

What if we combine all these property, you can easily turn off the property to false, if not required by your usecase.

<ng-card-ap
  [Border]="true"
  [Hoverable]="true"
  [Image]="'https://upload.wikimedia.org/wikipedia/commons/3/36/Hopetoun_falls.jpg'"
  [Title]="'Food and colors'"
  [Subtitle]="'Written by: Rohn Rose'"
  [Description]="'Some sort of description that will make this card looks better
               and you can showcase your website with good content.'"
>
</ng-card-ap>