# Content Projection

Passing HTML into a child component, which shows it where \`&lt;ng-content />\` is.

## What is **Content Projection**?

**Content projection** lets a parent put its own content inside a child component, which shows it wherever it places `<ng-content />`. It is how you build reusable cards and dialogs.

```html
<!-- card component template -->
<div class="card"><ng-content /></div>

<!-- using it -->
<app-card><h3>Weekly special</h3><p>Tacos, $5</p></app-card>
```

Level: Apprentice · [More Angular terms at this level](https://www.ask-codey.com/glossary?category=angular&level=2)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/content-projection
