โ† Back to Portfolio

stack-ui

Explore and preview stunning UI components from shadcn/ui and Aceternity UI. Copy-paste ready components for your next project.

TypeScript

StackUI

Beautiful UI Components, Ready to Copy & Paste

Explore and preview stunning UI components from shadcn/ui and Aceternity UI. Copy-paste ready components for your next project.

Next.js TypeScript Tailwind CSS License

Live Demo ยท Report Bug ยท Request Feature


โœจ Features

  • ๐ŸŽจ Beautiful Component Library - Curated collection from shadcn/ui and Aceternity UI
  • ๐Ÿ“‹ Copy-Paste Ready - Easy to integrate components with installation commands
  • ๐ŸŒ“ Dark Mode Support - Full dark/light theme support out of the box
  • ๐Ÿ“ฑ Fully Responsive - Mobile-first design for all screen sizes
  • ๐Ÿ” Live Preview - See components in action before using them
  • ๐Ÿš€ Modern Stack - Built with Next.js 16, TypeScript, and Tailwind CSS
  • ๐Ÿ“ฆ Component Collections - Multiple UI libraries in one place
  • ๐ŸŽฏ Developer Friendly - Clean code structure and easy navigation

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+ and npm/yarn/pnpm
  • Git

Installation

  1. Clone the repository
git clone https://github.com/yourusername/stackui.git
cd stackui
  1. Install dependencies
npm install
# or
yarn install
# or
pnpm install
  1. Run the development server
npm run dev
# or
yarn dev
# or
pnpm dev
  1. Open http://localhost:3000 in your browser

Build for Production

npm run build
npm start

๐Ÿ› ๏ธ Tech Stack

Core

UI Components

Additional Libraries

  • next-themes - Dark mode support
  • More libraries coming soon...

๐Ÿ“ Project Structure

stackui/
โ”œโ”€โ”€ app/                      # Next.js App Router
โ”‚   โ”œโ”€โ”€ (public)/            # Public pages (homepage)
โ”‚   โ”œโ”€โ”€ dashboard/           # Dashboard pages (protected)
โ”‚   โ”‚   โ”œโ”€โ”€ shadcn/         # shadcn/ui components gallery
โ”‚   โ”‚   โ””โ”€โ”€ aceternity/     # Aceternity UI components gallery
โ”‚   โ”œโ”€โ”€ layout.tsx          # Root layout with metadata
โ”‚   โ””โ”€โ”€ globals.css         # Global styles
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ ui/                 # shadcn/ui primitives (46 components)
โ”‚   โ”œโ”€โ”€ demos/              # Demo components
โ”‚   โ”‚   โ””โ”€โ”€ shadcn/        # shadcn component demos (44 files)
โ”‚   โ”œโ”€โ”€ layout/            # Layout components (navbar, sidebar)
โ”‚   โ””โ”€โ”€ shared/            # Shared utility components
โ”œโ”€โ”€ lib/
โ”‚   โ”œโ”€โ”€ registries/        # Component registries
โ”‚   โ”‚   โ”œโ”€โ”€ shadcn.ts     # shadcn/ui component registry
โ”‚   โ”‚   โ””โ”€โ”€ aceternity.ts # Aceternity UI component registry
โ”‚   โ”œโ”€โ”€ code-helpers.ts   # Code extraction helpers
โ”‚   โ””โ”€โ”€ utils.ts          # Utility functions
โ”œโ”€โ”€ public/                # Static assets
โ”‚   โ”œโ”€โ”€ logo.png          # StackUI logo
โ”‚   โ”œโ”€โ”€ favicon-48.png    # Favicon
โ”‚   โ””โ”€โ”€ preview.png       # OG image for social sharing
โ””โ”€โ”€ hooks/                # Custom React hooks

๐ŸŽจ Component Libraries

shadcn/ui Components

44+ production-ready components including:

  • Accordion, Alert, Alert Dialog
  • Avatar, Badge, Breadcrumb
  • Button, Calendar, Card
  • Carousel, Checkbox, Collapsible
  • Command, Dialog, Drawer
  • Dropdown Menu, Form, Input
  • Navigation Menu, Popover, Select
  • Sheet, Sidebar, Table
  • Tabs, Tooltip, and more...

Aceternity UI Components

Beautiful animated components:

  • Coming soon...

๐Ÿ”œ More Libraries Coming Soon

  • Magic UI
  • shadcn/ui Extensions
  • Custom Animated Components
  • And more...

๐ŸŒ Authentication

The project includes a simple hardcoded authentication system:

Demo Credentials:

  • Email: demo@stackui.com
  • Password: password

โš ๏ธ Note: This is a demo authentication system. For production use, implement proper authentication with services like NextAuth.js, Clerk, or Supabase Auth.


๐Ÿ“ Usage

Browsing Components

  1. Navigate to the Dashboard
  2. Choose a component library (shadcn/ui or Aceternity UI)
  3. Browse the component gallery
  4. Click on any component to see:
    • Live preview
    • Installation command
    • Source code

Copying Components

Each component page includes:

  • Installation Command - npx command to install component and dependencies
  • Source Code - Complete component code ready to copy
  • Live Preview - Interactive demonstration

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

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

๐Ÿ“„ License

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


๐Ÿ™ Acknowledgments

  • shadcn for the amazing shadcn/ui library
  • Aceternity UI for beautiful animated components
  • Vercel for Next.js and hosting platform
  • All contributors who help improve this project

๐Ÿ“ง Contact


Made with โค๏ธ by the StackUI Team

โญ Star this repo if you find it helpful!