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. mangacn
  3. Input OTP

Input OTP

ui

Manga-styled wrapper around your shadcn Input OTP (input-otp). The slots are joined 44px cells in one 2px ink frame (shared lines collapse to one 2px rule), each character large in the lettering face. Hover thickens the frame; the active slot gets a 3px line inside (never over its neighbours) and a 2px ink caret blinking in steps; focus adds ink / paper / ink around the group. The separator is a short 2px dash. aria-invalid (on InputOTP or on a slot) turns the lines to the accent and adds a "!" mark beside the group; disabled is dashed with a tone frame in each cell, characters kept on paper. Six slots and a separator fit a 360px screen.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/input-otp.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • cn
  • input-otp
  • input-otp
@ui/manga/input-otp.tsx