A modern, customizable Next.js & React component library with Nice components and copy-paste integration. Build UIs faster with beautiful, ready-to-use components.
- 🎨 Beautiful Components: Modern, animated UI components
- 🛠️ CLI Integration: Install components directly via command line
- 🔄 Multiple Variants: JavaScript/TypeScript with CSS/Tailwind options
- 🆕 New Component Tracking: Automatic "NEW" tags for recently added components
- 📱 Responsive Design: Components work seamlessly across all devices
- 🎭 Animation Ready: Built with Framer Motion for smooth interactions
# Install the CLI globally
npm install -g @hritik-sharmaa/repeat-ui
# Or use directly with npx
npx @hritik-sharmaa/repeat-ui add button-simple# Clone the repository
git clone https://github.com/hritik-sharmaa/repeat-ui.git
cd repeat-ui
# Install dependencies
npm install
# Start development server
npm run devOpen http://localhost:3000 to see the component library.
- Simple, Sketchy, Pulse, Rotation
- Fill, Letter, Creep, Layers
- Wiggle, Bubble
- Profile Card, Pricing Card
- 3D Card
- Flipping Text, Typing Text, Flow Text
- Text Shadow, Pop Text
- Split Reveal Text
- 2 Column Bento Grid, 3 Column Bento Grid
- Pinterest Grid
- Simple Carousel, Modern Carousel
- Loop Deck Carousel
- Search Bar with Hotkey, Document Upload Modal
- Accordion (NEW) - Collapsible accordion component
# List all available components
repeat-ui list
# Add a component to your project
repeat-ui add button-simple
# Add with specific variant
repeat-ui add button-simple --variant ts-tailwind
# Add the new accordion component
repeat-ui add commons-accordian --variant ts-css
# Install to custom directory
repeat-ui add card-profile --output ./src/componentssrc/
├── app/ # Next.js app directory
│ ├── components/ # All UI components
│ │ ├── content/ # Component implementations
│ │ └── site/ # Site layout components
│ └── context/ # React contexts
├── cli/ # CLI tool implementation
├── data/ # Component metadata
└── lib/ # Utility functions
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-component) - Add your component with proper date tracking
- Commit your changes (
git commit -m 'Add amazing component') - Push to the branch (
git push origin feature/amazing-component) - Open a Pull Request
When adding new components, make sure to:
- Update
src/data/categories.tswith current date - Add entry to
src/cli/registry.ts - Follow the existing file structure
- Include all variant types (js-css, js-tailwind, ts-css, ts-tailwind)
MIT License - see LICENSE for details.
Built with ❤️ using Next.js, TypeScript, Tailwind CSS, and Framer Motion.