A loading spinner with rotating bars animation.
import { BarsSpinner } from "@/components/ui/bars-spinner" export default function BarsSpinnerDemo() { return ( <div className="flex items-center justify-center min-h-[400px] p-8"> <BarsSpinner> Hello, World! </BarsSpinner> </div> ) }
Part of Spell — browse the full library on 21st.dev.