Dev Design Library

Caps Lock Warning

A small caps lock key with its light on slides into the field when caps is on.

Caps Lock Warning preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/caps-lock-warning.json
Files
  • src/lab/components/caps-lock-warning.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
  • src/lab/preview-play.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab