Cards for Angular and Ionic Framework

Updated on May 17, 2021

Cards component for rendering any type of content: photos, text, video and forms in a consistent way.

Use it for organizing content and provide entry points with optional actions.

Shipping with useful features for creating effective layouts:

  • Built from three blocks: header, content & footer
  • Fully supports typograpy elements & classes
  • Thumbnail, avatar, inline & cover image support
  • Integrates with horizontal scroll view and list view
  • Multiple theme support
  • Lightweight footprint
  • RTL Support
  • Supports card collections



As part of Gesture enabled listview it can be picked up with the Framework and Complete licenses or with the component license.


Cards demos available for other frameworks.

Viewing demos & code for

Angular and Ionic Cards Lists

    • Do the laundry
    • Check out new Mobiscroll features
    • Don't forget mom's birthday!
    • Update my app with the latest Mobiscroll
    • Buy new shoes
    • Need ketchup for pizza
      • Edit profile
        • Back
        • Change password
        • Change personal information
      • Settings
        • Back
        • Sound settings
        • Notification settings
        • Change theme
      • Rate
        • Back
        • Rate this application on Google Play
      • Tell a friend
        • Back
        • Share it in Email
        • Share it on Social media
      • Term of service
        • Back
        • This application content is under WTFPL license.
      • Contact us
        • Back
        • Let us know if we can help.
      • About us
        • Back
        • We are the Mobiscroll team.

      Cards - Basic

      Change demo
      Basic
      Angular Cards demo with header, content, footer blocks, basic typography and card actions. With source code. For Angular 19 and Ionic 8.
      Copy code

      Cards - Images

      Change demo
      Images

      Display images inside cards in a couple of different ways. Place it as a cover, make it full-width, inset images or use them as thumbnails.

      Place the cards in a grid system, make them scrollable horizontally or create a tinder-like swipe away layout.

      Copy code

      Cards - Video

      Change demo
      Video
      Angular Cards demo showing off how to include videos with and without description. Content can be shown around media cards. For Angular 19 and Ionic 8.
      Copy code

      Cards - Lists

      Change demo
      Lists
      Angular Cards demo that contains gesture enabled checklist and hierarchical listview. Add or remove elements from the list. For Angular 19 and Ionic 8.
      Copy code
      import { Component } from '@angular/core';
      import { MbscCardOptions, MbscListviewOptions } from '@mobiscroll/angular';
      
      @Component({
          selector: 'app-root',
          templateUrl: './app.component.html'
      })
      export class AppComponent {
          settings: MbscCardOptions = {
              theme: 'ios',
              themeVariant: 'light'
          };
      
          checklistSettings: MbscListviewOptions = {
              theme: 'ios',
              themeVariant: 'light',
              stages: {
                  left: [{
                      key: 'stage1',
                      icon: 'plus',
                      color: '#31c6e7',
                      text: 'Add',
                      action: (event, inst) => {
                          this.todos.splice(event.index + 1, 0, {
                              todo: 'New Todo',
                              checked: false
                          });
                      }
                  }],
                  right: [{
                      key: 'stage2',
                      color: '#009688',
                      text: 'Remove',
                      icon: 'remove',
                      action: (event, inst) => {
                          this.todos.splice(event.index, 1);
                          return false;
                      }
                  }]
              }
          };
      
          todos = [{
              todo: 'Do the laundry',
              checked: false
          }, {
              todo: 'Check out new Mobiscroll features',
              checked: false
          }, {
              todo: 'Don\'t forget mom\'s birthday!',
              checked: true
          }, {
              todo: 'Update my app with the latest Mobiscroll',
              checked: false
          }, {
              todo: 'Buy new shoes',
              checked: false
          }, {
              todo: 'Need ketchup for pizza',
              checked: true
          }];
      
          actions = [{
              title: 'Edit profile',
              icon: 'line-user',
              children: [{
                  title: 'Change password',
                  icon: 'line-key'
              }, {
                  title: 'Change personal information',
                  icon: 'line-user'
              }]
          }, {
              title: 'Settings',
              icon: 'line-settings',
              children: [{
                  title: 'Sound settings',
                  icon: 'line-megaphone'
              }, {
                  title: 'Notification settings',
                  icon: 'line-params'
              }, {
                  title: 'Change theme',
                  icon: 'line-t-shirt'
              }]
          }, {
              title: 'Rate',
              icon: 'line-heart',
              children: [{
                  title: 'Rate this application',
                  icon: 'line-star'
              }]
          }, {
              title: 'Tell a friend',
              icon: 'line-bubble',
              children: [{
                  title: 'Share it in Email',
                  icon: 'line-mail'
              }, {
                  title: 'Share it on Social Media',
                  icon: 'line-world'
              }]
          }, {
              title: 'Term of service',
              icon: 'line-note',
              children: [{
                  title: 'This application content is under WTFPL license.'
              }]
          }, {
              title: 'Contact us',
              icon: 'line-mail',
              children: [{
                  title: 'Let us know if we can help',
                  icon: 'line-mail'
              }]
          }, {
              title: 'About us',
              icon: 'line-world',
              children: [{
                  title: 'We are the Mobiscroll team.'
              }]
          }];
      }
      <mbsc-card [options]="settings">
          <mbsc-listview [options]="checklistSettings">
              <mbsc-listview-item class="cd-todo-item" *ngFor="let item of todos">
                  <mbsc-checkbox [(ngModel)]="item.checked">{{item.todo}}</mbsc-checkbox>
              </mbsc-listview-item>
          </mbsc-listview>
      </mbsc-card>
      
      <mbsc-card [options]="settings">
          <mbsc-listview [swipe]="false" [enhance]="true">
              <mbsc-listview-item *ngFor="let item of actions" [icon]="item.icon">
                  {{item.title}}
                  <mbsc-listview-sublist *ngIf="item.children">
                      <mbsc-listview-item *ngFor="let child of item.children" [icon]="child.icon">
                          {{child.title}}
                      </mbsc-listview-item>
                  </mbsc-listview-sublist>
              </mbsc-listview-item>
          </mbsc-listview>
      </mbsc-card>
      .mbsc-lv-cont .cd-todo-item {
          padding: 0;
      }
      import { BrowserModule } from '@angular/platform-browser';
      import { NgModule } from '@angular/core';
      import { HttpClientModule, HttpClientJsonpModule } from '@angular/common/http';
      import { FormsModule, ReactiveFormsModule } from '@angular/forms';
      import { MbscModule } from '@mobiscroll/angular';
      import { AppComponent } from './app.component';
      
      @NgModule({
        declarations: [
          AppComponent
        ],
        imports: [
          BrowserModule,
          MbscModule,
          FormsModule,
          ReactiveFormsModule,
          HttpClientModule,
          HttpClientJsonpModule
        ],
        bootstrap: [AppComponent]
      })
      export class AppModule { }
      

      Cards - Social cards

      Change demo
      Social cards
      Angular social cards demo with avatar, name, timestamp, photos, text and various actions. Build custom templates. For Angular 19 and Ionic 8.
      Copy code

      Cards - Forms

      Change demo
      Forms
      Angular Cards demo with various form elements. Add text fields, selects, checkboxes, sliders, switch, radio, buttons & more. For Angular 19 and Ionic 8.
      Copy code

      Cards - Swipe away

      Change demo
      Swipe away
      Angular Notification card demo. Use it like notification center or google now. Swipe away to clear. With source code. For Angular 19 and Ionic 8.
      Copy code

      Cards - Stacked cards

      Change demo
      Stacked cards
      Angular Stacked and rotated cards with tinder-like swipe away interaction. Use cards with listview gestures and custom CSS. For Angular 19 and Ionic 8.
      Copy code

      Cards - Content

      Change demo
      Content
      Angular Image card demo with description. Use it between content blocks or virtually anywhere for clean rendering. For Angular 19 and Ionic 8.
      Copy code

      Cards - Tabs

      Change demo
      Tabs
      Angular Cards demo with tabbed view. Use it to break up content logically and provide bite-sized information. For Angular 19 and Ionic 8.
      Copy code

      Cards - Collapsible

      Change demo
      Collapsible
      Angular Collapsible card list with summary in the header and additional content visible when the card is expanded. For Angular 19 and Ionic 8.
      Copy code

      Cards - Accordion

      Change demo
      Accordion
      Angular Accordion cards with one card expanded at a time. Use it let users focus on a single piece of content. For Angular 19 and Ionic 8.
      Copy code

      Cards - Masonry layout

      Change demo
      Masonry layout
      Angular Image cards with variable height in masonry layout. Four column layout similar to how Pinterest renders content. For Angular 19 and Ionic 8.
      Copy code

      Cards - Grid layout

      Change demo
      Grid layout
      Angular image card grid with title and description. Use it in horizontally scrollable lists or responsive grid layout. For Angular 19 and Ionic 8.
      Copy code

      Looking for something you didn't see or have a sales question?
      Ask us about it, we're here to help.

      Customize & try demos locally
      Sign in or start your free trial

      What framework are you using?

      Javascript
      jQuery
      AngularJS
      Angular
      React
      Other
      Ionic Angular
      Email address

      Install demo in your app
      Follow this quick, two minute install guide
      Close window

      Step 1.Install the Mobiscroll CLI from npm

      Copy command
      $ npm install -g @mobiscroll/cli

      The CLI makes configuring your apps super simple 👍

      Step 2.Run the following command in the root folder of your Ionic project

      Copy command
      $ mobiscroll config ionic --version=4

      You will be prompted to log in with your mobiscroll account. Set your password here

      Step 3.Copy the code into your app.

      Copy TS
      Copy HTML
      Copy CSS
      Copy Module

      Step 4.Run ionic serve in the root folder of your app 🎉

      Copy command
      $ ionic serve

      And voilà, everything should be running smoothly.

      Install demo in your app
      Follow this quick, two minute install guide
      Close window

      Step 1.Install the Mobiscroll CLI from npm

      Copy command
      $ npm install -g @mobiscroll/cli

      The CLI makes configuring your apps super simple 👍

      Step 2.Run the following command in the root folder of your Ionic project

      Copy command
      $ mobiscroll config ionic --version=4

      You will be prompted to log in with your mobiscroll account. Set your password here

      Step 3.Copy the code into your app.

      Copy TSX
      Copy CSS

      Step 4.Run ionic serve in the root folder of your app 🎉

      Copy command
      $ ionic serve

      And voilà, everything should be running smoothly.

      Customize & try demos locally
      How would you like to do it?
      Install demo in your app
      Follow this quick, two minute install guide
      Close window

      Step 1.Install the Mobiscroll CLI from npm

      Copy command
      $ npm install -g @mobiscroll/cli

      The CLI makes configuring your apps super simple 👍

      Step 2.Run the following command in the root folder of your Angular project

      Copy command
      $ mobiscroll config angular --version=4

      You will be prompted to log in with your mobiscroll account. Set your password here

      Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

      Copy TS
      Copy HTML
      Copy CSS
      Copy Module

      Step 4.Run ng serve in the root folder of your app 🎉

      Copy command
      $ ng serve

      And voilà, everything should be running smoothly.

      Thanks for downloading
      Try and customize the app locally

      Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

      Step 1. Run in root folder
      $ npm install
      Step 2. Start the app
      $ ionic serve

      Let us know if we can help and enjoy!

      Thanks for downloading
      Customize demos locally

      We have set up a trial so that you can try the demos locally.

      Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


      Let us know if we can help and enjoy! 👍

      Thanks for downloading
      Customize demos locally

      Please extract the zip file and run the project like any Angular CLI app. Make sure to have the Angular CLI installed.

      For installation and usage, extract the zip file and open a terminal window and follow these steps.

      Step 1. Run in root folder
      $ npm install
      Step 2. Start the app
      $ ng serve --open

      Let us know if we can help and enjoy! 👍

      Thanks for downloading
      Customize demos locally

      We have set up a trial so that you can try the demos locally.

      The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy! 👍

      You'll find a fully functional Kitchen-sink Ionic app in the zip file.

      Thanks for downloading
      Customize demos locally

      We have set up a trial so that you can try the demos locally.

      The demos are using Babel's in-browser ES6 and JSX transformer.
      Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


      Let us know if we can help and enjoy! 👍

      Customize & try this demo locally
      Sign in or start your free trial

      We have to set you up with a trial for this to run 👍

      Email address

      Need to update your password?
      Demos
      Theme Select
      Mobiscroll
      Material
      Material Dark
      iOS
      iOS Dark
      Windows
      Windows Dark
      Language Locale
      See other demos and change options
      Theme
      Locale
      See other demos