@rir360/ui
v1.1.1
Published
CLI for adding reusable UI components to your project
Maintainers
Readme
Reusable UI components for Next.js/React
CLI for adding reusable UI components to your React/Next.js projects.
Installation
No installation required! Use with npx:
npx @rir360/ui add <component>Usage
# Add a single component
npx @rir360/ui add splide
# Add multiple components
npx @rir360/ui add splide button card
# Specify custom path
npx @rir360/ui add splide
# Then enter your preferred path when promptedAvailable Components
| Component | Description |
| :--- | :--- |
| header | Sticky navigation with logo, mobile drawer, and optional banner. |
| hero | Impactful hero section with title, description, and media. |
| section | Base layout wrapper for consistent spacing and width. |
| editorial | Versatile two-column layout for text and images (reversible). |
| grid | Responsive grid system for content organization. |
| card | Versatile card component with image, title, and CTA. |
| contact-form | Ready-to-use form with basic validation and Tailwind styling. |
| splide | Optimized Splide carousel wrapper with auto-scroll support. |
| footer | Clean footer with navigation links, social icons, and copyright. |
View all components: github.com/rir360/ui
How it works
- Fetches component code from the registry
- Adds it to your project (default:
components/rir360/) - Shows you which dependencies to install
Components are copied to your project, so you have full control to customize them!
