1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Copy Code Button

Copy Code Button

block

Promo code chip with the code set in mono beside a Copy button; copying fades the code and shows a check with Copied over it that settles once, then announces the result. Falls back when the clipboard API is unavailable.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/copy-code-button.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • framer-motion
  • utils
  • stamp
components/copy-code-button.tsx