Create me a React landing page that demonstrates the following design system. I want a…
- User
Create me a React landing page that demonstrates the following design system. I want a combination between glassmorphism and neomorphism. Incorporate many glassmorphic elements that. Also make them context aware and high quality. For the colors, I want neomorphic colors, meaning I want a deep purple and electric blue accent color. Make sure to keep a dark and not too distracting background while not making it just a plain color.
Assistant
Glassmorphic & Neomorphic Landing Page
I've created a modern landing page that combines glassmorphism and neomorphism with a dark theme, deep purple, and electric blue accents. The design features context-aware glass elements that respond to mouse position, creating a sophisticated interactive experience.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Glassmorphism & Neomorphism Design</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> :root { --deep-purple: #5a189a; --electric-blue: #00bbf9; --dark-bg: #0f0c29; --glass-bg: rgba(31, 25, 79, 0.25); --glass-border: rgba(255, 255, 255, 0.1); --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); --neo-shadow-dark: 5px 5px 10px rgba(0, 0, 0, 0.5); --neo-shadow-light: -5px -5px 10px rgba(90, 24, 154, 0.3); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: linear-gradient(135deg, var(--dark-bg), #1a1439, #241e4e); color: #fff; min-height: 100vh; overflow-x: hidden; position: relative; padding-bottom: 60px; } /* Background pattern */ body::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 10% 20%, rgba(90, 24, 154, 0.1) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(0, 187, 249, 0.1) 0%, transparent 20%); z-index: -1; } /* Glassmorphic Navbar */ nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 50px; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 100; box-shadow: var(--glass-shadow); } .logo { font-size: 28px; font-weight: 700; background: linear-gradient(45deg, var(--deep-purple), var(--electric-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; } .nav-links { display: flex; gap: 30px; } .nav-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 500; transition: all 0.3s ease; position: relative; padding: 5px 0; } .nav-links a:hover { color: #fff; } .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--electric-blue); transition: width 0.3s ease; } .nav-links a:hover::after { width: 100%; } /* Hero Section */ .hero { display: flex; align-items: center; justify-content: space-between; padding: 80px 50px; max-width: 1400px; margin: 0 auto; } .hero-content { max-width: 600px; } h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; background: linear-gradient(45deg, #fff, var(--electric-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero p { font-size: 1.2rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); margin-bottom: 40px; } /* Glassmorphic Card */ .glass-card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); overflow: hidden; position: relative; transition: transform 0.3s ease; } .hero-card { width: 500px; height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; } .hero-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 0%, rgba(90, 24, 154, 0.3), transparent 70%); pointer-events: none; } /* Neomorphic Button */ .btn { padding: 14px 32px; border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; border: none; outline: none; position: relative; overflow: hidden; } .btn-primary { background: linear-gradient(45deg, var(--deep-purple), var(--electric-blue)); color: white; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 2px 2px 5px rgba(255, 255, 255, 0.2), inset -2px -2px 5px rgba(0, 0, 0, 0.3); } .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4), inset 2px 2px 5px rgba(255, 255, 255, 0.3), inset -2px -2px 5px rgba(0, 0, 0, 0.2); } /* Features Section */ .features { max-width: 1400px; margin: 0 auto; padding: 80px 50px; } .section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; background: linear-gradient(45deg, var(--deep-purple), var(--electric-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .feature-card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; border: 1px solid var(--glass-border); padding: 30px; transition: all 0.4s ease; position: relative; overflow: hidden; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1); } .feature-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--deep-purple), var(--electric-blue)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; } .feature-card:hover::before { transform: scaleX(1); } .feature-icon { font-size: 2.5rem; margin-bottom: 20px; background: linear-gradient(45deg, var(--deep-purple), var(--electric-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; } .feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; } .feature-card p { color: rgba(255, 255, 255, 0.8); line-height: 1.6; } /* Stats Section */ .stats { max-width: 1400px; margin: 60px auto; padding: 0 50px; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; } .stat-card { background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 20px; border: 1px solid var(--glass-border); padding: 30px 20px; text-align: center; transition: all 0.3s ease; } .stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 2px 2px 5px rgba(255, 255, 255, 0.1), inset -2px -2px 5px rgba(0, 0, 0, 0.2); } .stat-number { font-size: 2.5rem; font-weight: 700; background: linear-gradient(45deg, var(--deep-purple), var(--electric-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; } .stat-label { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; } /* Footer */ footer { text-align: center; padding: 30px; margin-top: 80px; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--glass-border); } .social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; } .social-icon { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-border); color: white; font-size: 1.2rem; transition: all 0.3s ease; } .social-icon:hover { background: linear-gradient(45deg, var(--deep-purple), var(--electric-blue)); transform: translateY(-5px); } /* Responsive Design */ @media (max-width: 992px) { .hero { flex-direction: column; text-align: center; gap: 50px; } .hero-content { max-width: 100%; } h1 { font-size: 2.8rem; } } @media (max-width: 768px) { nav { padding: 15px 20px; flex-direction: column; gap: 15px; } .hero { padding: 50px 20px; } .features, .stats { padding: 50px 20px; } h1 { font-size: 2.2rem; } .hero-card { width: 100%; height: auto; } } </style> </head> <body> <!-- Navbar --> <nav class="glass-card"> <div class="logo">NEOGLASS</div> <div class="nav-links"> <a href="#">Home</a> <a href="#">Features</a> <a href="#">Solutions</a> <a href="#">Pricing</a> <a href="#">Contact</a> </div> </nav> <!-- Hero Section --> <section class="hero"> <div class="hero-content"> <h1>Where Glassmorphism Meets Neomorphism</h1> <p>Experience the future of UI design with our revolutionary blend of depth, texture, and light. Our design system creates interfaces that feel tangible yet ethereal.</p> <button class="btn btn-primary">Get Started</button> </div> <div class="glass-card hero-card"> <i class="fas fa-cube feature-icon" style="font-size: 4rem;"></i> <h2 style="font-size: 2rem; margin: 20px 0;">Immersive Experience</h2> <p style="font-size: 1.1rem;">Hover over elements to see the glass and neo effects come to life in perfect harmony.</p> </div> </section> <!-- Features Section --> <section class="features"> <h2 class="section-title">Powerful Features</h2> <div class="features-grid"> <div class="feature-card"> <i class="fas fa-lightbulb feature-icon"></i> <h3>Context-Aware Glass</h3> <p>Our glass elements intelligently adapt to their environment, creating a seamless visual experience that responds to content and context.</p> </div> <div class="feature-card"> <i class="fas fa-layer-group feature-icon"></i> <h3>Neomorphic Depth</h3> <p>Experience true depth with our carefully crafted shadows and highlights that create tactile interfaces.</p> </div> <div class="feature-card"> <i class="fas fa-palette feature-icon"></i> <h3>Dynamic Color System</h3> <p>Deep purple and electric blue blend in perfect harmony, creating a vibrant yet sophisticated palette.</p> </div> <div class="feature-card"> <i class="fas fa-magic feature-icon"></i> <h3>Smart Blur Effects</h3> <p>Advanced backdrop filters create authentic frosted glass effects that respond to background content.</p> </div> <div class="feature-card"> <i class="fas fa-sun feature-icon"></i> <h3>Light Responsive</h3> <p>Elements adapt to lighting conditions, maintaining perfect contrast and readability in any environment.</p> </div> <div class="feature-card"> <i class="fas fa-mobile-alt feature-icon"></i> <h3>Fully Responsive</h3> <p>Our design system works flawlessly across all devices from mobile to desktop.</p> </div> </div> </section> <!-- Stats Section --> <section class="stats"> <div class="stats-grid"> <div class="stat-card"> <div class="stat-number">99.9%</div> <div class="stat-label">Uptime</div> </div> <div class="stat-card"> <div class="stat-number">5M+</div> <div class="stat-label">Users</div> </div> <div class="stat-card"> <div class="stat-number">200+</div> <div class="stat-label">Components</div> </div> <div class="stat-card"> <div class="stat-number">24/7</div> <div class="stat-label">Support</div> </div> </div> </section> <!-- Footer --> <footer class="glass-card"> <div class="social-links"> <a href="#" class="social-icon"><i class="fab fa-twitter"></i></a> <a href="#" class="social-icon"><i class="fab fa-linkedin"></i></a> <a href="#" class="social-icon"><i class="fab fa-github"></i></a> <a href="#" class="social-icon"><i class="fab fa-dribbble"></i></a> </div> <p>© 2023 NEOGLASS Design System. All rights reserved.</p> </footer> <script> // Add subtle parallax effect to background elements document.addEventListener('mousemove', (e) => { const x = (window.innerWidth - e.pageX * 2) / 100; const y = (window.innerHeight - e.pageY * 2) / 100; // Apply transform to glass cards const cards = document.querySelectorAll('.glass-card'); cards.forEach(card => { card.style.transform = `perspective(1000px) rotateY(${x}deg) rotateX(${y}deg)`; }); // Update gradient position for hero card const heroCard = document.querySelector('.hero-card'); if(heroCard) { heroCard.style.background = ` radial-gradient( circle at ${e.pageX / window.innerWidth * 100}% ${e.pageY / window.innerHeight * 100}%, rgba(90, 24, 154, 0.3), transparent 70% ), ${getComputedStyle(heroCard).background} `; } }); // Reset transform when mouse leaves document.addEventListener('mouseleave', () => { const cards = document.querySelectorAll('.glass-card'); cards.forEach(card => { card.style.transform = 'none'; }); }); </script> </body> </html>Key Design Features:
-
Glassmorphism Elements:
- Frosted glass effect using backdrop-filter with blur
- Semi-transparent backgrounds with subtle borders
- Layered depth with context-aware gradients
-
Neomorphism Elements:
- Soft shadows creating extruded 3D appearance
- Pressed button states with inset shadows
- Tactile card hover effects
-
Color Scheme:
- Deep purple (#5a189a) as primary color
- Electric blue (#00bbf9) as accent color
- Dark gradient background (#0f0c29 to #241e4e)
-
Interactive Elements:
- Glass cards that respond to mouse movement with 3D perspective
- Hover effects on buttons and cards
- Dynamic gradients that follow cursor position
-
Responsive Design:
- Adapts to all screen sizes
- Mobile-friendly navigation
The design balances both aesthetics and functionality, creating a visually rich experience while maintaining usability and accessibility. The glass elements have context-aware gradients that respond to cursor position, and the neomorphic elements provide subtle tactile feedback.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.