Skip to content

educlopez/switch2-ui

Repository files navigation

Switch-2-ui

A modern, beautiful, and accessible UI component library built with Next.js 15, React 19, TypeScript, and Tailwind CSS. This project provides a comprehensive set of reusable components powered by Radix UI primitives and styled with a clean, modern design system.

✨ Features

  • 🎨 Modern and beautiful UI components
  • ♿️ Fully accessible components using Radix UI primitives
  • 🌗 Dark mode support with next-themes
  • 📱 Responsive design
  • 🎯 Type-safe with TypeScript
  • 🎨 Customizable with Tailwind CSS
  • 🚀 Built on Next.js 15 for optimal performance
  • 📦 Easy to use and integrate

🚀 Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • pnpm (recommended) or npm

Installation

  1. Clone the repository:
git clone https://github.com/educlopez/switch2-ui.git
cd switch2-ui
  1. Install dependencies:
pnpm install
  1. Run the development server:
pnpm dev
  1. Open http://localhost:3000 in your browser to see the result.

🧱 Component Library

Switch-2-ui includes a wide range of components:

  • Layout: Accordion, AspectRatio, Collapsible, Separator
  • Navigation: Menubar, NavigationMenu, Tabs
  • Inputs: Checkbox, RadioGroup, Select, Slider, Switch, Toggle
  • Overlays: AlertDialog, Dialog, DropdownMenu, HoverCard, Popover, Tooltip
  • Feedback: Progress, Toast
  • Typography: Various text styles and components
  • Data Display: Avatar, Table, ScrollArea
  • And many more!

🛠️ Technologies

📝 Development

Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm start - Start production server
  • pnpm lint - Run linting

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Feel free to open issues and submit pull requests.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📞 Support

If you have any questions or need help, please open an issue in the repository.


Made with ❤️ using Next.js and Radix UI

About

UI From the Switch 2 using Nextjs, Tailwindcss and shadcn

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published