Progress
A bone fill on a faint track. The head runs hot only while the value moves and cools 600ms after the last change; the fill glides on a spring.
Customize
line
bar
Indeterminate is one accent segment travelling the track. Reaching 100 flashes the fill once and draws a check in place of the number.
Install
npx shadcn@latest add https://obsydeui.com/r/progress.jsonUsage
Import it from where the CLI puts it, or copy the files below by hand.
import { Progress } from '@/components/obsyde/ember/progress/Progress';
export function Example() {
return (
<Progress size="line" value={40} />
);
}
Files
Plain React, TypeScript and CSS. No dependencies. The download keeps these paths.
ember/progress/Progress.tsxcomponentember/progress/progress-demo.cssstylesember/progress/progress.cssstylesember/progress/ProgressDemo.tsxdemoember/status-kit/check.csssharedember/status-kit/Check.tsxsharedember/status-kit/kit.tssharedember/shared/rolling-number.csssharedember/shared/RollingNumber.tsxsharedember/shared/spring.tssharedember/shared/accent.tssharedember/shared/chart-kit.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
valueValue | number | 40 |
indeterminateIndeterminate | boolean | false |
sizeSize | 'line' | 'bar' | 'line' |
showValueShow value | boolean | true |
labelAccessible label | string | 'Progress' |