export const title = "Loading indicator components" export const description = "Free and open-source React loading indicator components built for modern applications and websites. These loading indicators are built using React Aria and styled with Tailwind CSS." export const links = { github: "https://github.com/untitleduico/react/tree/main/components/application/loading-indicator", } import * as Demos from "@/components/application/loading-indicator/loading-indicator.demo.tsx"; ## Installation You can add this loading indicator component using our CLI or manually: ```bash npx untitledui@latest add loading-indicator ``` Copy the files below into your project: Great! Now you can start using the loading indicator components in your project by just copy/pasting our examples below. ## Loading indicator examples Below are examples and variations of this loading indicator component: ### Line simple {{ tocOnly:true }} ### Line simple with label {{ tocOnly:true }} ### Line spinner {{ tocOnly:true }} ### Line spinner with label {{ tocOnly:true }} ### Dot circle {{ tocOnly:true }} ### Dot circle with label {{ tocOnly:true }} ### Sizes {{ tocOnly:true }} ## API reference ` elements with no `role` or live region, and the optional `label` is rendered as ordinary text. If the loading state needs to be announced, put the indicator inside a container with `role=\"status\"` and an `aria-live` region of your own — the component is copy-and-paste, so you can also add those attributes directly to the file.", }, ]} />