Depth text
Your colour falling into a deep shade of itself from the top of each line.
Swap the skin, keep the code.
Customize
Props
As
Size
Installation
npx shadcn@latest add https://skinsui.dev/r/text-depth.jsonUsage
usage.tsx
import { Text } from "@/components/skins/text-depth";<Text>Swap the skin, keep the code.</Text>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| as | "h1" | "h2" | "h3" | "p" | "span" | "h2" | The element it renders, so the outline of the page stays right. |
| size | "md" | "lg" | "xl" | "lg" | 32, 48 or 72 pixels. |
- as"h2"
"h1" | "h2" | "h3" | "p" | "span"The element it renders, so the outline of the page stays right.
- size"lg"
"md" | "lg" | "xl"32, 48 or 72 pixels.