unlumen/refresh
An icon button that spins on click and supports async refresh callbacks — ideal for reloading component previews or live data.
Installs, but has a TypeScript error. Production builds (next build) stop on type errors until this line is fixed. Checked Oct 14 in a clean Next 16.4.0 · React 19 · Tailwind 4 project.
src/components/unlumen-ui/refresh.tsx(8,10): error TS2305: Module '"@/components/unlumen-ui/primitives/button"' has no exported member 'buttonVariants'.npx get-ui-cli add unlumen/refreshInstalls every file, sub-component, npm dependency and CSS variable, with imports rewritten to your project’s aliases.
Add the "Refresh Button" component (unlumen/refresh, from Unlumen UI) to this project. 1. Run: npx get-ui-cli add unlumen/refresh --yes 2. Read the "Use it" snippet it prints, then import the component and render it where it fits. 3. Don't rewrite the installed file. Adapt it through its props and className, so `npx get-ui-cli update` can still merge upstream fixes. 4. Run: npx get-ui-cli doctor, and fix anything it reports.