Skip to content

Indeterminate progress bar in React

A thin bar where a segment slides continuously, for a load of unknown duration.

Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.

This component also comes in

Open in a new tab

The code in React

IndeterminateBar.tsx
const keyframes = `
@keyframes bar-slide {
  from {
    left: -40%;
  }

  to {
    left: 100%;
  }
}
`;

Free component: copy it freely, including for commercial projects.

Loaders components in React
  • Three dots bouncing one after another, for a short wait or a message being typed.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A button's state while a form is submitting: a small spinner and a "Sending" label.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A spinning ring with a colored segment, alongside a loading text.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component