Chrome text
Polished metal letters with a machined edge and light that slides across.
Customize
Props
As
Size
Installation
npx shadcn@latest add https://skinsui.dev/r/text-chrome.jsonUsage
usage.tsx
import { Text } from "@/components/skins/text-chrome";<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.