Skip to content

    Browse components

    Stripe Button

    Diagonal barber stripes that brighten and scroll on hover, like a live progress bar.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/stripe-button

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/stripe-button.json

    Usage

    import { StripeButton } from "@/components/ui/stripe-button";
    
    <StripeButton speed={0.5}>Deploy now</StripeButton>

    Props

    PropTypeDefaultDescription
    childrenReactNode—Button label.
    stripeSizenumber18Stripe tile size in px.
    speednumber0.5Seconds for the stripes to scroll one tile.
    classNamestring—Extra classes for the root element.