MCPInstall

syncfusion-angular-card

Implements Syncfusion Angular Card components with headers, images, action buttons, and configurable layouts. Use this skill when building flexible, reusable card interfaces with custom styling, CSS classes, and component integration patterns for displaying content in structured card formats.

Installs
266
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-card
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-angular-card automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Syncfusion Angular Cards

The Card is a lightweight, CSS-based layout component that provides a flexible container for displaying structured content. Perfect for creating reusable content blocks with headers, images, text, and interactive elements.

When to Use This Skill

Use this skill when users need to:

  • Create card-based layouts with structured content
  • Add headers with titles, subtitles, and images to cards
  • Include images and captions within cards
  • Add interactive action buttons to cards
  • Arrange card elements horizontally
  • Customize card appearance with CSS
  • Build flexible, responsive content containers
  • Integrate other Syncfusion components within cards

Component Overview

The Syncfusion Angular Card (e-card) is a pure CSS component with no JavaScript dependencies. It provides semantic HTML structure and CSS classes that enable you to build professional card layouts with:

  • Flexible Structure: Pure CSS composition with no complex dependencies
  • Semantic Elements: Clear class-based architecture for headers, content, and actions
  • Responsive Design: Works with CSS grid, flexbox, and responsive layouts
  • Component Integration: Host other Syncfusion components inside cards
  • Extensive Customization: Full CSS control over appearance and behavior

Key CSS Classes:

  • e-card — Root card container
  • e-card-header — Header section wrapper
  • e-card-content — Main content area
  • e-card-image — Image container
  • e-card-actions — Action buttons container
  • e-card-horizontal — Horizontal layout mode
  • e-card-separator — Visual divider between sections

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Package installation and setup
  • Angular CLI and environment configuration
  • Adding CSS theme imports
  • Basic card structure with headers and content
  • Your first working card example

Card Headers

📄 Read: references/card-headers.md

  • Header structure and wrapper elements
  • Adding titles and subtitles
  • Including images in headers
  • Image positioning (before/after caption)
  • Rounded corners and image styling
  • Complete header examples

Card Images

📄 Read: references/card-images.md

  • Adding images to card content
  • Image sizing and dimensions
  • Image titles and captions with overlay
  • Dividers for visual separation
  • Integrating other components inside cards
  • Complete image examples

Action Buttons

📄 Read: references/action-buttons.md

  • Creating action buttons and links
  • Horizontal button alignment (default)
  • Vertical button alignment
  • Icon buttons and custom styling
  • Interactive card controls
  • Button examples with layouts

Horizontal Layout

📄 Read: references/horizontal-layout.md

  • Side-by-side element alignment
  • Using the e-card-horizontal class
  • Stacked sections with e-card-stacked
  • Mixed horizontal and vertical layouts
  • Combining images with vertical content
  • Horizontal layout examples

Styling and Customization

📄 Read: references/styling-customization.md

  • CSS structure and class selectors
  • Customizing card appearance
  • Header, content, and button styling
  • Image and divider customization
  • Theme integration
  • Advanced CSS patterns

Quick Start Example

Here's a minimal working card with header, content, and action buttons:

<!-- In your app.component.html or template -->
<div class="e-card" style="max-width: 400px;">
  <!-- Header Section -->
  <div class="e-card-header">
    <div class="e-card-header-caption">
      <div class="e-card-header-title">Card Title</div>
      <div class="e-card-sub-title">Subtitle or description</div>
    </div>
  </div>

  <!-- Content Section -->
  <div class="e-card-content">
    Your main content goes here. This can be text, images, or any HTML elements.
  </div>

  <!-- Action Buttons Section -->
  <div class="e-card-actions">
    <button class="e-card-btn">Action 1</button>
    <button class="e-card-btn">Action 2</button>
  </div>
</div>

Setup in Component:

import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css'],
  standalone: true
})
export class AppComponent {}

Add CSS Theme to styles.css:

@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-layouts/styles/material3.css';

Common Patterns

Pattern 1: Product Card with Image

Display a product with image, title, description, and action buttons:

<div class="e-card" style="max-width: 300px;">
  <div class="e-card-image" style="background-image: url('product.jpg'); height: 200px;"></div>
  <div class="e-card-header">
    <div class="e-card-header-title">Product Name</div>
  </div>
  <div class="e-card-content">Product description here</div>
  <div class="e-card-actions">
    <button class="e-card-btn">Add to Cart</button>
  </div>
</div>

Pattern 2: User Profile Card

Display user information with avatar and social actions:

<div class="e-card" style="max-width: 350px;">
  <div class="e-card-header">
    <div class="e-card-header-image" style="width: 60px; height: 60px; background-image: url('avatar.jpg');"></div>
    <div class="e-card-header-caption">
      <div class="e-card-header-title">John Doe</div>
      <div class="e-card-sub-title">Senior Developer</div>
    </div>
  </div>
  <div class="e-card-content">Bio or description text</div>
  <div class="e-card-actions">
    <button class="e-card-btn">Follow</button>
    <button class="e-card-btn">Message</button>
  </div>
</div>

Pattern 3: Horizontal Card Layout

Combine image with vertical content for compact horizontal layout:

<div class="e-card e-card-horizontal" style="max-width: 500px;">
  <img src="image.jpg" alt="Image" style="height: 200px; width: 200px;">
  <div class="e-card-stacked">
    <div class="e-card-header">
      <div class="e-card-header-title">Title</div>
    </div>
    <div class="e-card-content">Content description</div>
  </div>
</div>

Key Props and Classes Reference

ClassPurposeUsage
e-cardRoot containerRequired for all cards
e-card-headerHeader wrapperGroups title, subtitle, images
e-card-header-captionHeader content containerWraps titles and subtitles
e-card-header-titleMain header titleCard headline
e-card-sub-titleSubtitle textSecondary header information
e-card-header-imageHeader imageAvatar or header graphic
e-card-contentContent areaMain card body content
e-card-imageContent imageFull-width or sized images
e-card-titleImage overlay titleCaption over images
e-card-separatorVisual dividerSeparation between sections
e-card-actionsButtons containerGroups interactive elements
e-card-btnAction button styleInteractive button element
e-card-verticalVertical alignmentStack action buttons vertically
e-card-horizontalHorizontal layoutSide-by-side element arrangement
e-card-stackedVertical sectionVertical area within horizontal layout
e-card-cornerRounded cornersAdd border-radius to images

Component Architecture

The Card component uses a layered CSS structure:

Card Container (e-card)
├── Header Section (e-card-header) [optional]
│   ├── Header Image (e-card-header-image) [optional]
│   └── Header Caption (e-card-header-caption)
│       ├── Header Title (e-card-header-title)
│       └── Subtitle (e-card-sub-title) [optional]
├── Image Container (e-card-image) [optional]
│   └── Image Title (e-card-title) [optional]
├── Content Section (e-card-content)
├── Separator (e-card-separator) [optional]
└── Actions Container (e-card-actions) [optional]
    ├── Button (e-card-btn)
    └── Link Elements

Layout Modes:

  • Vertical (default): All elements stack vertically
  • Horizontal: Use e-card-horizontal class to arrange elements side-by-side
  • Stacked within Horizontal: Use e-card-stacked to force vertical flow in horizontal layouts

Common Use Cases

  1. Product Catalogs: Display products with images, descriptions, and purchase buttons
  2. User Profiles: Show user information with avatars and action buttons
  3. Blog Posts: Create article previews with images, excerpts, and read buttons
  4. Dashboard Widgets: Build dashboard cards with data and interactive elements
  5. To-Do Lists: Combine cards with ListView components for task management
  6. Image Galleries: Display images with captions and metadata
  7. Team Members: Show staff profiles with contact and role information
  8. Feature Highlights: Showcase features with icons and descriptions

Next Steps

Choose your learning path based on your needs:

  • New to Cards? Start with Getting Started to set up your first card
  • Building Complex Headers? Read Card Headers for advanced header patterns
  • Styling Your Cards? Check Styling and Customization for CSS techniques
  • Creating Layouts? Explore Horizontal Layout for side-by-side arrangements
  • Need Full Examples? Each reference file includes complete, copy-paste-ready code

Questions? Each reference file has detailed examples and edge cases. Refer to the specific topic that matches your current need.

FAQ

What does the syncfusion-angular-card skill do?

Implements Syncfusion Angular Card components with headers, images, action buttons, and configurable layouts. Use this skill when building flexible, reusable card interfaces with custom styling, CSS classes, and component integration patterns for displaying content in structured card formats.

How do I install syncfusion-angular-card?

Run npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-card in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-angular-card/ (personal) or .claude/skills/syncfusion-angular-card/ (project).

Which AI agents can use syncfusion-angular-card?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-angular-card safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-angular-card?

It is published by syncfusion in syncfusion/angular-ui-components-skills. It has 266 recorded installs.

More from syncfusion/angular-ui-components-skills

View all →

syncfusion-angular-grid

syncfusion/angular-ui-components-skills

Implements Syncfusion Angular Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

Frontend & Design342 installs

syncfusion-angular-common

syncfusion/angular-ui-components-skills

Common utilities and features for Syncfusion Angular components. Use this skill when the user needs to implement animations, drag-and-drop, state persistence, RTL support, localization, globalization, security, templates, and advanced features for Syncfusion Angular components.

Frontend & Design327 installs

syncfusion-angular-chart

syncfusion/angular-ui-components-skills

Implement Syncfusion Angular Chart component for professional data visualization. Use this when creating or customizing charts such as line, bar, column, area, pie, financial (candlestick, OHLC), scatter, bubble, or stock charts. Supports axes configuration, series binding, legends, tooltips, zooming, real-time updates, technical indicators, themes, export, and accessibility features.

Frontend & Design321 installs

syncfusion-angular-license

syncfusion/angular-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design319 installs

syncfusion-angular-themes

syncfusion/angular-ui-components-skills

Use this skill when users need to apply themes, customize appearance, switch dark mode, use CSS variables, configure icons, or modify visual styling for Syncfusion Angular components. Covers icon library, size modes, and Theme Studio integration.

Frontend & Design319 installs

syncfusion-angular-rich-text-editor

syncfusion/angular-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design317 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs