50%
75%
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
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:
import { Progress } from '@skeletonlabs/skeleton-react';
export default function Anatomy() {
return (
<Progress>
<Progress.Label />
<Progress.Track>
<Progress.Range />
</Progress.Track>
<Progress.ValueText />
</Progress>
);
}<script lang="ts">
import { Progress } from '@skeletonlabs/skeleton-svelte';
</script>
<Progress>
<Progress.Label />
<Progress.Track>
<Progress.Range />
</Progress.Track>
<Progress.ValueText />
</Progress>API Reference
Unable to load component information for react/progress
Unable to load component information for svelte/progress