Dev Design Library

Spoiler Text

Hides a spoiler under shimmering grain that blows away from your click.

Spoiler Text preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/spoiler-text.json
Files
  • src/lab/components/spoiler-text.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