Skip to content
  • Android
  • iOS
  • Web

Progress

Show how far a task has progressed.

Engine API NProgressnayan-ui/components

Live examples

Example.tsx

Attributes

NProgress attributes
NameTypeDefaultDetails
valuenumber0Progress from 0 to 100.
classNamestringOptionalSupported Tailwind-style utilities, resolved entirely in Rust. See the engine README.
labelstringOptional
showLabelbooleanfalseDisplays the label and percentage above the track.
colorstringaccentThe fill color. Accepts a theme token or a CSS color.
sizestring | numbermdUse sm, md, or lg for the height of the track.

Tags