SmoothUI

SmoothUI is a collection of beautifully designed components with smooth animations built with React, Tailwind CSS, and Motion. This project aims to provide developers with a set of reusable UI components that enhance user experience through delightful animations and modern design patterns.
Table of Contents
Features
- Modern Design System: A cohesive and contemporary design language with a new mascot called Smoothy
- Smooth Animations: Built-in animations powered by Motion for delightful user experiences
- Responsive Design: Fully responsive components designed with Tailwind CSS
- Dark Mode Support: Components support both light and dark themes out of the box
- Color Customization: Dynamic color switcher for easy theme customization
- Documentation: Comprehensive documentation with props, examples, and usage guidelines
- Accessibility: Enhanced accessibility features across all components
- TypeScript Support: Full TypeScript support with type definitions
- Easy Integration: Simple API for integrating components into your projects
- CLI Tools: Dedicated SmoothUI CLI and shadcn registry support for easy component installation
Quick Start
Get started with SmoothUI in just one command:
Then use the component:
Installation
Using SmoothUI CLI
The SmoothUI CLI provides an interactive way to browse and install components with automatic dependency resolution.
Features:
- Interactive component picker with search and categories
- Auto-detects package manager (npm, pnpm, yarn, bun)
- Auto-detects component paths and tsconfig aliases
- Shows dependency tree before installation
- Handles file conflicts with overwrite prompts
- Auto-installs npm dependencies
Using shadcn CLI
SmoothUI is an official shadcn registry, so you can install components directly using the @smoothui namespace:
Manual Installation
If you prefer to install components manually, you can copy the component files directly:
- Install dependencies:
-
Copy component files from the components directory [blocked]
-
Set up utilities:
Usage
Basic Usage
Advanced Usage
Available Components
SmoothUI includes a wide variety of components:
UI Components
- SiriOrb - Animated orb with smooth color transitions
- RichPopover - Advanced popover with rich content
- ScrollableCardStack - Interactive card stack with smooth scrolling
- AnimatedInput - Input field with smooth animations
- DynamicIsland - iOS-style dynamic island component
- FluidMorph - Fluid morphing animations
- MatrixCard - Matrix-style card with particle effects
Interactive Components
- CursorFollow - Custom cursor following component
- ScrambleHover - Text scramble effect on hover
- WaveText - Animated wave text effect
- TypewriterText - Typewriter text animation
Layout Components
- ExpandableCards - Expandable card layout
- ScrollableCardStack - Stack of scrollable cards
- AppDownloadStack - App download showcase
Utility Components
- ButtonCopy - Copy button with feedback
- ClipCornersButton - Button with clipped corners
- DotMorphButton - Button with morphing dot animation
MCP Support
SmoothUI is fully compatible with the shadcn MCP server, enabling AI assistants to discover and install components automatically.
š¤ AI Assistant Integration
With MCP support, AI assistants like Claude, Cursor, and GitHub Copilot can:
- Discover Components: Browse all available SmoothUI components
- Install Components: Automatically install components with dependencies
- Provide Usage Examples: Get code examples and integration help
- Smart Suggestions: Receive intelligent component recommendations
Quick MCP Setup
- Configure your registry in
components.json:
- Install MCP server:
- Try these prompts:
- "Show me the components in the smoothui registry"
- "Install the SiriOrb component from smoothui"
- "Create a landing page using smoothui components"
Registry System
SmoothUI uses a custom registry system compatible with shadcn CLI v3. Each component includes:
Automatic Dependencies
- Package Dependencies: Required npm packages are automatically included
- Utility Files: Shared utilities like
cnare automatically bundled - Import Paths: All import paths are automatically resolved
Component Structure
When you install a component, you get:
Registry Features
- Self-contained: Each component includes all necessary dependencies
- Type-safe: Full TypeScript support with proper types
- Optimized: Components are optimized for performance
- Accessible: Built-in accessibility features
Troubleshooting
Common Issues
1. Authentication Error (401)
Error: You are not authorized to access the item
Solution: This usually happens with Vercel preview deployments. Use the production URL:
2. Registry Not Found
Error: The item at https://smoothui.dev/r/registry.json was not found
Solution: The search command might not work as expected. Install components directly:
3. Import Path Issues
Error: Cannot find module '@/lib/utils/cn'
Solution: Make sure your tsconfig.json includes the path alias:
4. Missing Dependencies
Error: Cannot find module 'clsx'
Solution: Install missing dependencies:
Getting Help
- Documentation: Visit for detailed documentation
- Issues: Report bugs on
- Discussions: Join discussions on
Contributing
We welcome contributions! Please see our Contributing Guide [blocked] for details.
Development Setup
- Clone the repository:
- Install dependencies:
- Start development server:
- Build registry:
License
This project is licensed under the MIT License - see the LICENSE [blocked] file for details.