Browse components
Stripe Button
Diagonal barber stripes that brighten and scroll on hover, like a live progress bar.
Installation
npx shadcn@latest add @glint-ui/stripe-buttonFirst time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glint-ui-seven.vercel.app/r/stripe-button.json
Usage
import { StripeButton } from "@/components/ui/stripe-button";
<StripeButton speed={0.5}>Deploy now</StripeButton>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | Button label. |
| stripeSize | number | 18 | Stripe tile size in px. |
| speed | number | 0.5 | Seconds for the stripes to scroll one tile. |
| className | string | — | Extra classes for the root element. |