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. Reservation Timer

Reservation Timer

block

A calm hold ticket: it leads with the absolute time (Held until 18:30, with the date if not today) and gets more precise as time runs down: about N h left above an hour, minutes under an hour, seconds only in the last five minutes, rolling only the digits that change. With startedAt or holdMs a row of 12 ink dots goes out one by one; item pins what is held as the ticket's anchor. On expiry the same ticket morphs in place: the time is struck through, a void Released stamp takes the countdown's place and the note says the item went back on sale. Optional one-time extension. shadcn tokens only, accent via primary. The remaining time is role="timer" (not read every second), aria-live fires only on expiry, and reduced motion switches instantly. Includes ReservationExpiredPanel.

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