1. framework components
  2. progress linear

Progress - Linear

An indicator showing the progress or completion of a task.

50%

Color

Change the track and range color using utility classes or custom CSS variables to match your design system.

Height

Create variations using different heights.

Orientation

Using the orientation prop to control the layout.

Indeterminate

Set a null value to enable indeterminate mode.

Use CSS to enable custom animations.

Direction

Set the text direction (ltr or rtl) using the dir prop.

Label

Native Alternative

Skeleton also provides styles for the native Progress element.

Anatomy

Here’s an overview of how the Progress (Linear) component is structured in code:

tsx
import { Progress } from '@skeletonlabs/skeleton-react';

export default function Anatomy() {
	return (
		<Progress>
			<Progress.Label />
			<Progress.Track>
				<Progress.Range />
			</Progress.Track>
			<Progress.ValueText />
		</Progress>
	);
}

API Reference

Unable to load component information for react/progress

View page on GitHub