BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/neobrutalui/progress

progress

neobrutalui/progress
FreeComponent

Visualize task completion progress with a percentage indicator.

Live preview

live · rendered by the registry
Rendered by neobrutalui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.neobrutalui.live/r/progress.json

Source

components/ui/progress.tsxwww.neobrutalui.live/r/progress.json
1"use client"
2
3import * as React from "react"
4import { Progress as BaseProgress } from "@base-ui/react/progress"
5
6import { cn } from "@/lib/utils"
7
8type ProgressProps = React.ComponentPropsWithoutRef<typeof BaseProgress.Root> & {
9 showValue?: boolean
10}
11
12const Progress = React.forwardRef<
13 React.ComponentRef<typeof BaseProgress.Root>,
14 ProgressProps
15>(({ className, value, showValue = true, ...props }, ref) => {
16 const percentage = value ?? 0
17
18 return (
19 <BaseProgress.Root
20 ref={ref}
21 value={value}
22 className={cn("relative w-full pt-10", className)}
23 {...props}
24 >
25 {showValue && (
26 <div
27 className="absolute top-0 -translate-x-1/2 transition-[left] duration-300 motion-reduce:transition-none"
28 style={{ left: `${percentage}%` }}
29 >
30 <span className="relative inline-flex items-center rounded-base border-2 border-black bg-white px-2 py-0.5 text-xs font-medium text-black">
31 {percentage}%
32 <svg
33 className="absolute -bottom-2 left-1/2 -translate-x-1/2"
34 width="10"
35 height="8"
36 viewBox="0 0 10 8"
37 fill="none"
38 aria-hidden="true"
39 >
40 <path d="M5 8L0 0H10L5 8Z" className="fill-black" />
41 <path
42 d="M0 0L5 8L10 0"
43 stroke="black"
44 strokeWidth="2"
45 strokeLinejoin="round"
46 />
47 </svg>
48 </span>
49 </div>
50 )}
51 <BaseProgress.Track className="relative h-3 w-full overflow-hidden rounded-base border-2 border-black bg-white">
52 <BaseProgress.Indicator className="h-full bg-main transition-[width,transform] duration-300 motion-reduce:transition-none" />
53 </BaseProgress.Track>
54 </BaseProgress.Root>
55 )
56})
57Progress.displayName = "Progress"
58
59const ProgressLabel = React.forwardRef<
60 React.ComponentRef<typeof BaseProgress.Label>,
61 React.ComponentPropsWithoutRef<typeof BaseProgress.Label>
62// … truncated

What it pulls in

npm packages

  • @base-ui/react

Other registry items

  • utils

Facts

Registry
neobrutalui
Type
registry:ui
Access
Free
Files written
0
Licence
MIT
First indexed
2026-08-01
Last confirmed
2 days ago

Go to the source

Docs on neobrutalui www.neobrutalui.live Bridgetamana/neobrutal-ui on GitHub Raw registry item This item as JSON

More from neobrutalui

All 24 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionneobrutaluiComponentsFree2 deps
alertalertneobrutaluiComponentsFree1 dep
avataravatarneobrutaluiComponentsFreeno deps
badgebadgeneobrutaluiComponentsFree1 dep
buttonbuttonneobrutaluiComponentsFree1 dep
cardcardneobrutaluiComponentsFreeno deps
checkboxcheckboxneobrutaluiComponentsFree2 deps
date-pickerdate-pickerneobrutaluiComponentsFree2 deps
BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex

BlockDex

Built by

Kynth Studio

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

BlockDex