Skip to content
Back to skills

Angular Material

ASecurity

ALWAYS use when working with Angular Material components, CDK, or Material Design in Angular applications.

  • 57 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 17, 2026
designangulargitapiperformance

Works with

  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill angular-material --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Material?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Angular Material
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-angular-material/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-angular-material)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: angular-material
description: "ALWAYS use when working with Angular Material components, CDK, or Material Design in Angular applications."
metadata:
  version: 21.0.3
  generated_by: oguzhancart
  generated_at: 2026-02-19
---

# @angular/material & @angular/cdk

**Version:** 21.0.3 (Feb 2026)
**Tags:** Material Design, CDK, Components, UI Library

**References:** [Docs](https://material.angular.dev) — components, guides • [CDK Docs](https://material.angular.dev/cdk) • [GitHub Issues](https://github.com/angular/components/issues) • [Changelog](https://github.com/angular/components/blob/main/CHANGELOG.md)

## API Changes

This section documents recent version-specific API changes.

- NEW: Angular Aria — New low-level component library for accessible, headless components that can be styled custom [source](https://blog.angular.dev/announcing-angular-v21)

- NEW: CDK overlays now use browser's built-in popovers for improved accessibility [source](https://blog.angular.dev/announcing-angular-v21)

- NEW: Material Design system tokens — Use utility classes to apply Material tokens directly in templates [source](https://blog.angular.dev/announcing-angular-v21)

- NEW: CDK Drag & Drop improvements — Allow copying items between lists [source](https://blog.angular.dev/announcing-angular-v21)

- NEW: Angular v21 — Full support for new Angular features including zoneless change detection

## Best Practices

- Use standalone components — Import Material components directly without NgModule

```ts
import { Component } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';

@Component({
  standalone: true,
  imports: [MatButtonModule, MatCardModule],
  // ...
})
export class ExampleComponent {}
```

- Use CDK for custom components — Use CDK (Component Dev Kit) for behavior primitives like drag-drop, overlays, menus without Material styling

- Use CDK Virtual Scroll for large lists — Improve performance with `cdkVirtualScrollViewport` instead of rendering all items

```html
<cdk-virtual-scroll-viewport itemSize="50" class="viewport">
  <div *cdkVirtualFor="let item of items">{{item.name}}</div>
</cdk-virtual-scroll-viewport>
```

- Use `trackBy` with `ngFor` — Prevent unnecessary DOM re-renders

- Customize themes with SCSS — Use Material's theming system for custom colors and typography

- Use `ChangeDetectionStrategy.OnPush` — Improve performance with default change detection strategy

- Follow accessibility guidelines — Use ARIA labels, keyboard navigation, and focus management provided by CDK components

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.