A curated open-source collection of glass morphism effects for developers and designers. Browse, copy, and contribute beautiful glass effects with Tailwind CSS, React components, and AI prompts.
- Next.js 14 - React framework with App Router
- Tailwind CSS - Utility-first CSS framework
- TypeScript - Type-safe development
- Lucide Icons - Beautiful icon library
- Vercel - Deployment and hosting
- Node.js 18+ and npm/pnpm/yarn
-
Clone the repository
git clone https://github.com/opengate-labs/glass-effects-gallery.git cd glass-effects-gallery
-
Install dependencies
npm install # or pnpm install # or yarn install
-
Run the development server
npm run dev # or pnpm dev # or yarn dev
-
Open your browser Navigate to http://localhost:3000
We love contributions! Here's how you can help:
- Fork the repository
- Create a new branch for your effect
- Add your effect to
data/glass-effects.tsx
:
{
id: "your-effect-id",
name: "Your Effect Name",
description: "Brief description of your effect",
category: "cards", // cards | overlays | navigation | backgrounds | animated
type: "component", // component | overlay | fixed
preview: (
// Your React component preview
),
code: `Your HTML/React code here`,
prompt: "AI prompt to generate similar effect",
tailwindClasses: "tailwind classes used",
}
- Test your effect locally
- Submit a Pull Request with:
- Clear description of the effect
- Screenshots if applicable
- Ensure it follows the existing pattern
- 🐛 Report bugs via GitHub Issues
- 💡 Suggest features or improvements
- 📖 Improve documentation
- 🎨 Design improvements
glass-effects-gallery/
├── app/ # Next.js App Router
│ ├── layout.tsx # Root layout with SEO
│ ├── page.tsx # Main gallery page
│ └── globals.css # Global styles
├── components/ # UI components
│ └── ui/ # Shadcn/ui components
├── data/ # Data layer
│ └── glass-effects.tsx # All glass effects data
├── public/ # Static assets
│ ├── favicon.ico # Favicon
│ ├── robots.txt # SEO robots file
│ └── sitemap.xml # SEO sitemap
└── README.md
- Cards - Glass morphism cards and containers
- Overlays - Modal backdrops and overlays
- Navigation - Glass navigation bars and sidebars
- Backgrounds - Hero sections and background effects
- Animated - Effects with animations and transitions
This project is open source and available under the MIT License.