1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. bollard
  3. Low Battery Guard

Low Battery Guard

ui

Pre-task banner that compares battery runway (to a safety reserve, from the Battery Status API or a measured drain rate) with the task's length, shows where the battery would cut it off, and offers "Start when plugged in". Stays silent when the task will finish anyway.

pnpm dlx shadcn@latest add "https://bollard-ui.vercel.app/r/low-battery-guard.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • lucide-react
    @ui/low-battery-guard.tsx