Generator Css Loader
CSS loader generator with ring, dots, bars, pulse and orbit variants that exports CSS and a React component.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this feature
What it's for
- CSS loader generator with ring, dots, bars, pulse and orbit variants that exports CSS and a React component.
- Accessible loader builder with role=status and screen reader text.
- Make a button loader with a theme colour, custom size and speed.
Includes
- Css loader builder
- Ring dots bars pulse orbit
- Size colour speed controls
- Theme token colour
- Screen reader text
- Role status
- Reduced motion fade fallback
- Paused offscreen preview
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add generator-css-loadernpx shadcn@4.17.0 add @agentic-ui/generator-css-loaderUsed in
A standalone component: drop it into any screen.
- Type
- Feature
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-generator-foundation- Files
11 files
- components/agentic-ui/generator-css-loader/generator-css-loader/generator-css-loader.tsx
- components/agentic-ui/generator-css-loader/generator-css-loader/loader-preview.tsx
- components/agentic-ui/generator-css-loader/generator-css-loader/loader-model.ts
- components/agentic-ui/generator-css-loader/shared/util.ts
- components/agentic-ui/generator-css-loader/shared/oklch.ts
- components/agentic-ui/generator-css-loader/generator-css-loader/loader-css.ts
- components/agentic-ui/generator-css-loader/generator-css-loader/loader-generate.ts
- components/agentic-ui/generator-css-loader/generator-css-loader/loader-presets.ts
- components/agentic-ui/generator-css-loader/shared/viewport-toolbar.tsx
- components/agentic-ui/generator-css-loader/shared/name-field.tsx
- components/agentic-ui/generator-css-loader/index.ts
Related components
Generator Border Radius Blob
CSS blob shape generator with draggable border-radius handles and an eight-value border-radius output.
Details and live previewGenerator Clip Path
Clip-path generator with draggable points for polygon, circle, ellipse and inset shapes.
Details and live previewGenerator Easing Spring Editor
A design-system team tunes the brand ease and spring and exports them as a tokens.json override for the Stripe personality.
Details and live previewGenerator Foundation Shell
A background pattern generator that exports CSS, Tailwind classes, a React component and a shadcn registry item.
Details and live preview