# Embeds
## Example
```svelte
Images
Images (sensitive)
External Link
Video (sensitive)
Quoted Post
```
## Documentation
## Usage
### Images
```svelte
console.log(image)}
/>
```
### External Link
```svelte
```
### Video
```svelte
```
### Sensitive Content
The `EmbedImages` and `EmbedVideo` components support a `sensitive` prop that hides the content behind a click-to-reveal overlay.
```svelte
```
## API Reference
### EmbedImages
Displays a grid of images with optional click handling and sensitive content overlay.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| data | `EmbedImageData` | `-` | The image embed data containing an array of images with alt text, thumbnails, and aspect ratios. Includes optional sensitive flag and onclick handler. (required) |
| showSensitive | `boolean` | `true` | Whether to show the sensitive content overlay when data.sensitive is true. |
### EmbedExternal
Displays an external link card with thumbnail, title, and domain.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| data | `EmbedExternalData` | `-` | The external link embed data containing href, thumbnail, title, and description. (required) |
### EmbedVideo
Displays an HLS video player with optional sensitive content overlay.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| data | `EmbedVideoData` | `-` | The video embed data containing playlist URL, thumbnail, alt text, aspect ratio, and optional sensitive flag. (required) |
| showSensitive | `boolean` | `true` | Whether to show the sensitive content overlay when data.sensitive is true. |
### EmbedQuotedPost
Displays a quoted/embedded post record.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| record | `EmbedRecordData` | `-` | The quoted post data including author, content, optional nested embed, and optional onclick/onclickhandle callbacks. (required) |
| showEmbed | `boolean` | `false` | Whether to show embeds within the quoted post. |
### EmbedRouter
Routes an embed to the correct component based on its type. Handles images, external links, video, and quoted posts.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| embed | `Embed` | `-` | The embed data to render. Each embed carries its own sensitive flag and callbacks. (required) |
| showSensitive | `boolean` | `true` | Whether to show the sensitive content overlay for flagged embeds. |