StyleUI Components is a collection of reusable UI components built with Next.js, TailwindCSS, and shadcn/ui. This project showcases various custom components that can be easily integrated into your Next.js applications.
- Animated Card
- Custom Buttons
- Floating Navbar
- ChatGPT Carousel
- Custom Video Player
- Typography Demo
- ShadCN Dark mode support
- Responsive design
First, clone the repository and install the dependencies:
git clone https://github.com/michaelshimeles/styleui-os.git
cd styleui-os
yarn
Then, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
To use these components, you need to have shadcn/ui installed in your project. Follow these steps:
- Run
npx shadcn@latest init
in your project directory - Follow the prompts to set up shadcn/ui
- Install necessary components using
npx shadcn-ui@latest add [component-name]
For more detailed instructions, visit the shadcn/ui documentation.
app/
: Contains the main application codepage.tsx
: The main page component showcasing all the StyleUI componentslayout.tsx
: The root layout component
components/
: Contains all the custom componentslib/
: Contains utility functions and configurations
Each component is showcased on the main page with a "View Code" button that reveals the component's source code. You can easily copy the code and integrate it into your own projects.
You can customize the components by modifying their respective files in the components/
directory. The project uses TailwindCSS for styling, so you can easily adjust the appearance by changing the Tailwind classes.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.