Files
hyperframes/docs/catalog/components/inline-highlight.mdx
T

39 lines
1.1 KiB
Plaintext

---
title: "Inline Highlight"
description: "A clean marker-style inline highlight that animates behind text using a CSS scale variable"
---
# Inline Highlight
A clean marker-style inline highlight that animates behind text using a CSS scale variable
`motion-primitive` `text` `highlight` `caption`
<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/inline-highlight.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/inline-highlight.png" autoPlay muted loop playsInline />
## Install
<CodeGroup>
```bash Terminal
npx hyperframes add inline-highlight
```
</CodeGroup>
## Details
| Property | Value |
| --- | --- |
| Type | Component |
## Files
| File | Target | Type |
| --- | --- | --- |
| `inline-highlight.html` | `compositions/components/inline-highlight.html` | hyperframes:snippet |
## Usage
Open `compositions/components/inline-highlight.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.