1.0.8 • Published 2 years ago

ng-cards-ap v1.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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>
1.0.8

2 years ago

1.0.7

2 years ago

0.0.6

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago