Glass Progress
einui/glass-progressFreeComponent
Visual indicators for task completion with animated gradient fill and glow effects.
Live preview
live · rendered by the registry
Rendered by einui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://ui.eindev.ir/r/glass-progress.jsonSource
1"use client"23import * as React from "react"4import * as ProgressPrimitive from "@radix-ui/react-progress"5import { cn } from "@/lib/utils"67const GlassProgress = React.forwardRef<8 React.ElementRef<typeof ProgressPrimitive.Root>,9 React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>10>(({ className, value, ...props }, ref) => (11 <div className="relative">12 <div className="absolute -inset-1 rounded-full bg-linear-to-r from-cyan-500/20 via-blue-500/20 to-purple-500/20 blur-md opacity-50" />13 <ProgressPrimitive.Root14 ref={ref}15 className={cn(16 "relative h-3 w-full overflow-hidden rounded-full",17 "bg-white/10 backdrop-blur-xl border border-white/20",18 className,19 )}20 {...props}21 >22 <ProgressPrimitive.Indicator23 className={cn(24 "h-full transition-all duration-500 ease-out rounded-full",25 "bg-linear-to-r from-cyan-400 via-blue-400 to-purple-400",26 "shadow-[0_0_12px_rgba(59,130,246,0.5)]",27 )}28 style={{ width: `${value || 0}%` }}29 />30 </ProgressPrimitive.Root>31 </div>32))33GlassProgress.displayName = ProgressPrimitive.Root.displayName3435export { GlassProgress }
What it pulls in
npm packages
Files it writes
More from einui
All 42 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Base Widgetbase-widget | einui | Components | Free | 1 dep | |
| Calendar Widgetscalendar-widget | einui | Components | Free | 1 dep | |
| Clock Widgetsclock-widget | einui | Components | Free | 1 dep | |
| Glass Alert Dialogglass-alert-dialog | einui | Components | Free | 1 dep | |
| Glass Avatarglass-avatar | einui | Components | Free | 1 dep | |
| Glass Badgeglass-badge | einui | Components | Free | 1 dep | |
| Glass Breadcrumbglass-breadcrumb | einui | Components | Free | 1 dep | |
| Glass Buttonglass-button | einui | Components | Free | 2 deps |
