BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/bucharitesh/modern-progress

Modern Progress

bucharitesh/modern-progress
FreeComponent

A modern progress component for Next.js apps with next-themes and Tailwind CSS, supporting system, light, and dark modes.

Install it

npx shadcn@latest add https://bucharitesh.in/r/modern-progress.json

Source

registry/bucharitesh/modern-progress.tsxbucharitesh.in/r/modern-progress.json
1import { cn } from '@/lib/utils';
2import { type VariantProps, cva } from 'class-variance-authority';
3import * as React from 'react';
4
5const progressVariants = cva(
6 'relative flex w-full items-center justify-center overflow-hidden',
7 {
8 variants: {
9 variant: {
10 default: 'border-4 border-primary bg-neutral-950',
11 secondary: 'border-4 border-secondary bg-neutral-900',
12 destructive: 'border-4 border-destructive bg-neutral-950',
13 },
14 radius: {
15 default: 'rounded-3xl',
16 full: 'rounded-full',
17 none: 'rounded-none',
18 },
19 },
20 defaultVariants: {
21 variant: 'default',
22 radius: 'default',
23 },
24 }
25);
26
27const indicatorVariants = cva(
28 'absolute bottom-0 left-0 z-20 w-full transition-[height,background-color] duration-300',
29 {
30 variants: {
31 variant: {
32 default: 'bg-primary',
33 secondary: 'bg-secondary',
34 destructive: 'bg-destructive',
35 },
36 striped: {
37 true: '[&>div]:bg-[linear-gradient(45deg,rgba(255,255,255,.15)_25%,transparent_25%,transparent_50%,rgba(255,255,255,.15)_50%,rgba(255,255,255,.15)_75%,transparent_75%,transparent)] [&>div]:bg-size-1',
38 false: '',
39 },
40 },
41 defaultVariants: {
42 variant: 'default',
43 striped: true,
44 },
45 }
46);
47
48export interface ProgressProps
49 extends React.HTMLAttributes<HTMLDivElement>,
50 VariantProps<typeof progressVariants> {
51 value?: number;
52 max?: number;
53 striped?: boolean;
54 indicatorClassName?: string;
55 showText?: boolean;
56}
57
58const Progress = React.forwardRef<HTMLDivElement, ProgressProps>(
59 (
60 {
61 className,
62 value = 0,
63 max = 100,
64 variant,
65 radius,
66 striped = true,
67 indicatorClassName,
68 showText,
69 ...props
70 },
71 ref
72 ) => {
73 const percentage = Math.min(Math.max((value / max) * 100, 0), 100);
74
75 return (
76 <div
77 ref={ref}
78 role="progressbar"
79 aria-valuemin={0}
80 aria-valuemax={max}
81 aria-valuenow={value}
82 className={cn(progressVariants({ variant, radius }), className)}
83 {...props}
84 >
85 <div className="relative aspect-video w-full">
86 <div
87 className={cn(
88 indicatorVariants({ variant, striped }),
89 indicatorClassName
90 )}
91 style={{
92 height: `${percentage}%`,
93 }}
94 >
95 <div
96 data-pattern="stripes"
97// … truncated

What it pulls in

npm packages

  • class-variance-authority

Files it writes

  • registry/bucharitesh/modern-progress.tsx

Facts

Registry
bucharitesh
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

bucharitesh.in Raw registry item This item as JSON

More from bucharitesh

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
BookbookbuchariteshComponentsFree1 dep · 2 files
Game of Lifegame-of-lifebuchariteshComponentsFreeno deps
Magical Mousemagical-mousebuchariteshComponentsFree1 dep
Metallic Buttonmetallic-buttonbuchariteshComponentsFree2 deps
Pixel Iconpixel-iconbuchariteshComponentsFreeno deps
Split Text Effectsplit-text-effectbuchariteshComponentsFree1 dep
Text Highlighttext-highlightbuchariteshComponentsFree1 dep
View Magnifierview-magnifierbuchariteshComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex