1. Create Astro project
npm create astro@latest my-projectcd my-projectStart with a fresh Astro project or use your existing one.
UICG provides vanilla JavaScript components for Astro projects. No React, Vue, or other frameworks required - just pure Astro components with vanilla JavaScript, Tailwind CSS, and accessibility built-in.
1. Create Astro project
npm create astro@latest my-projectcd my-projectStart with a fresh Astro project or use your existing one.
2. Initialize UICG
npx ui-gen initSets up Tailwind CSS, creates ui-config.json, and configures the component generator.
3. Add components
npx ui-gen add buttonnpx ui-gen add inputnpx ui-gen add modalInstall beautiful, accessible components into your project.
Astro Native
Built specifically for Astro with .astro components. No framework overhead or JavaScript bundle bloat.
Vanilla JavaScript
Pure vanilla JavaScript with Tailwind CSS styling. No frameworks, no dependencies, just modern web standards.
Accessibility First
WCAG 2.1 AA compliant with keyboard navigation, screen reader support, and proper ARIA attributes.
Dark Mode Ready
Built-in dark mode support with smooth transitions and consistent theming across all components.