Devsloka UI is a free, open-source React component library and template collection for building beautiful, animated, and accessible UIs with Next.js, Remix, and React Router. Powered by Tailwind CSS, Framer Motion, and Radix UI.
- 50+ Production-Ready Components: Buttons, Cards, Forms, Navigation, Carousels, and more
- Prebuilt Blocks & Templates: Hero sections, pricing, testimonials, footers, dashboards, and landing pages
- Modern Styling: Tailwind CSS, CSS Variables, and theme support
- Accessibility First: WCAG 2.1 compliant, keyboard navigation, and ARIA
- TypeScript Support: Full type definitions for all components
- Dark/Light Mode: Built-in theme switching
- Zero Vendor Lock-in: Use with Next.js, Remix, or React Router
- Easy Copy-Paste Usage: Drop code into your project and go
# With npm
npx shadcn@latest add https://ui.devsloka.in/r/component-name
# Or with bun
bunx shadcn@latest add https://ui.devsloka.in/r/component-nameOr simply copy-paste any component from the
/src/registry/uior/src/registry/blocksfolders into your project.
- Import a component:
import { Button } from "@/components/ui/button"; export default function Example() { return <Button>Click me</Button>; }
- Or copy-paste from the registry:
- UI Components:
src/registry/ui - Blocks:
src/registry/blocks - Templates:
src/lib/templates.ts
- UI Components:
- Airbnb Card
- Animated Image Gallery
- Animated Multi-Select
- Animated Smartwatch
- Border Gradient Icon
- Card Decorator
- Card Radio
- Content Carousel
- Empty Result
- Error Result
- Expanding Cards
- Floating Dots
- Gradient Text
- Icon Radio
- Laptop Closes on Scroll
- Loader
- Logo Cloud Carousel
- Morphing Card
- Morphing Modal
- Morphing Nav
- Pricing Card
- Product Card
- Range Slider with Histogram
- Success Result
- Tabs Switcher
- Text Effect
- Tour
- Contact Block
- FAQ Block
- Features Block
- Feature Floating Showcase
- Feature Interactive Cards
- Footer Block
- Floating Footer
- Grid Footer
- Hero Section (multiple variants)
- Logo Cloud Block
- Newsletter Block
- Pricing Block
- Team Block
- Testimonials Block
- Wave Footer
See src/registry/blocks for all block code.
- Built with Tailwind CSS and CSS variables
- Multiple color themes: see
src/app/themes.css - Easily switch between dark/light mode
- Customize fonts, colors, and spacing in
tailwind.config.js
MIT License - See LICENSE for details.
Built with ❤️ by the Devsloka
Report Issues · Request Features · Join the Community!
