Dev Design Library

Storage Meter

Point at any slice to read its size, then clear the cache and watch the total count down.

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

Categories

More from UI Lab