BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/crenspire/glass-ui/input-otp

Input OTP

crenspire-glass-ui/input-otp
FreeComponent

Accessible one-time password component with copy paste functionality.

Live preview

live · rendered by the registry
Rendered by crenspire/glass-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://glass-ui.crenspire.com/r/input-otp.json

Source

components/ui/glass/input-otp.tsxglass-ui.crenspire.com/r/input-otp.json
1"use client"
2
3import * as React from "react"
4import {
5 InputOTP as BaseInputOTP,
6 InputOTPGroup as BaseInputOTPGroup,
7 InputOTPSeparator,
8 InputOTPSlot as BaseInputOTPSlot,
9} from "@/components/ui/input-otp"
10import { cn } from "@/lib/utils"
11
12export interface InputOTPProps extends React.ComponentProps<typeof BaseInputOTP> {
13 glow?: boolean
14}
15
16export interface InputOTPGroupProps extends React.ComponentProps<typeof BaseInputOTPGroup> {
17 glow?: boolean
18}
19
20export interface InputOTPSlotProps extends React.ComponentProps<typeof BaseInputOTPSlot> {
21 glow?: boolean
22}
23
24/**
25 * Glass UI Input OTP - Enhanced OTP input with glassy effects
26 */
27export const InputOTP = React.forwardRef<
28 React.ElementRef<typeof BaseInputOTP>,
29 InputOTPProps
30>(({ className, variant = "glass", glow = false, ...props }, ref) => {
31 return (
32 <BaseInputOTP
33 ref={ref}
34 variant={variant}
35 className={cn(
36 glow && "shadow-md shadow-purple-500/20",
37 className
38 )}
39 {...props}
40 />
41 )
42})
43InputOTP.displayName = "InputOTP"
44
45export const InputOTPGroup = React.forwardRef<
46 HTMLDivElement,
47 InputOTPGroupProps
48>(({ className, variant = "glass", glow = false, ...props }, ref) => {
49 return (
50 <BaseInputOTPGroup
51 ref={ref}
52 variant={variant}
53 className={cn(
54 glow && "shadow-md shadow-purple-500/20",
55 className
56 )}
57 {...props}
58 />
59 )
60})
61InputOTPGroup.displayName = "InputOTPGroup"
62
63export const InputOTPSlot = React.forwardRef<
64 HTMLDivElement,
65 InputOTPSlotProps
66>(({ className, variant = "glass", glow = false, ...props }, ref) => {
67 return (
68 <BaseInputOTPSlot
69 ref={ref}
70 variant={variant}
71 className={cn(
72 glow && "ring-1 ring-purple-500/20",
73 className
74 )}
75 {...props}
76 />
77 )
78})
79InputOTPSlot.displayName = "InputOTPSlot"
80
81export {
82 InputOTPSeparator,
83}
84

What it pulls in

npm packages

  • input-otp
  • lucide-react

Other registry items

  • input-otp

Files it writes

  • lib/utils.ts
  • lib/glass-utils.ts
  • lib/hover-effects.ts
  • app/globals.css
  • components/ui/glass/input-otp.tsx

Facts

Registry
crenspire/glass-ui
Type
registry:component
Access
Free
Files written
5
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on crenspire/glass-ui glass-ui.crenspire.com crenspire/glass-ui on GitHub Raw registry item This item as JSON

More from crenspire/glass-ui

All 49 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Accordionaccordioncrenspire/glass-uiComponentsFree2 deps · 5 files
Alertalertcrenspire/glass-uiComponentsFreeno deps · 5 files
Alert Dialogalert-dialogcrenspire/glass-uiComponentsFree1 dep · 5 files
Avataravatarcrenspire/glass-uiComponentsFree1 dep · 5 files
Badgebadgecrenspire/glass-uiComponentsFreeno deps · 5 files
Breadcrumbbreadcrumbcrenspire/glass-uiComponentsFree2 deps · 5 files
Buttonbuttoncrenspire/glass-uiComponentsFree1 dep · 5 files
Button Groupbutton-groupcrenspire/glass-uiComponentsFreeno deps · 5 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex