---
title: "Gravitational Lens"
description: "Shader transition with gravitational lensing distortion"
---
import { InstallCommand } from "/snippets/install-command.jsx";
## Install
That writes one file: `compositions/gravitational-lens.html`.
## Source
```html
06 / 14
Gravitational Lens
Prompt
"use gravitational lens shader transition"
Content warps toward a gravity well with chromatic aberration and event horizon darkening.
```
## Usage
After installing, add the block to your host composition:
```html
```
{/* hf:generated-footer */}
Tagged `transition` `shader`.
## Related topics
- [Browse the complete Catalog](/catalog)
- [Add assets and Catalog items in Studio](/studio/assets-and-blocks)
- [Build a richer composition](/go-further)