Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>UIverse - UI Components & Inspiration</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
<style> | |
.component-card:hover .component-actions { | |
opacity: 1; | |
} | |
.gradient-bg { | |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
} | |
.category-filter::-webkit-scrollbar { | |
display: none; | |
} | |
.animate-float { | |
animation: float 6s ease-in-out infinite; | |
} | |
@keyframes float { | |
0% { transform: translateY(0px); } | |
50% { transform: translateY(-20px); } | |
100% { transform: translateY(0px); } | |
} | |
</style> | |
</head> | |
<body class="bg-gray-50 font-sans antialiased"> | |
<!-- Navigation --> | |
<nav class="bg-white shadow-sm sticky top-0 z-50"> | |
<div class="container mx-auto px-4 py-3 flex items-center justify-between"> | |
<!-- Logo --> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 gradient-bg rounded-lg flex items-center justify-center"> | |
<i class="fas fa-cubes text-white text-xl"></i> | |
</div> | |
<span class="ml-2 font-bold text-gray-800 text-xl">UIverse</span> | |
</div> | |
<!-- Main Navigation --> | |
<div class="hidden md:flex space-x-8"> | |
<a href="#" class="text-gray-700 hover:text-purple-600 font-medium">Components</a> | |
<a href="#" class="text-gray-700 hover:text-purple-600 font-medium">Templates</a> | |
<a href="#" class="text-gray-700 hover:text-purple-600 font-medium">Inspiration</a> | |
<a href="#" class="text-gray-700 hover:text-purple-600 font-medium">Resources</a> | |
</div> | |
<!-- Search and User --> | |
<div class="flex items-center space-x-4"> | |
<div class="relative hidden md:block"> | |
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
<i class="fas fa-search text-gray-400"></i> | |
</div> | |
<input type="text" class="block w-full pl-10 pr-3 py-2 bg-gray-100 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-200" placeholder="Search components..."> | |
</div> | |
<button class="hidden md:block px-4 py-2 bg-gradient-to-r from-purple-600 to-indigo-600 text-white rounded-lg font-medium hover:opacity-90 transition"> | |
Submit UI | |
</button> | |
<div class="w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center md:hidden"> | |
<i class="fas fa-bars text-gray-600"></i> | |
</div> | |
</div> | |
</div> | |
</nav> | |
<!-- Hero Section --> | |
<section class="gradient-bg text-white py-16"> | |
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> | |
<div class="md:w-1/2 mb-10 md:mb-0"> | |
<h1 class="text-4xl md:text-5xl font-bold mb-4">Build beautiful interfaces</h1> | |
<p class="text-xl mb-8 opacity-90">Discover and use free UI components, templates and design inspiration for your next project.</p> | |
<div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4"> | |
<button class="px-6 py-3 bg-white text-purple-600 rounded-lg font-bold hover:bg-gray-100 transition"> | |
Browse Components | |
</button> | |
<button class="px-6 py-3 bg-transparent border-2 border-white rounded-lg font-bold hover:bg-white/10 transition"> | |
How it works | |
</button> | |
</div> | |
</div> | |
<div class="md:w-1/2 flex justify-center"> | |
<div class="relative w-full max-w-md"> | |
<div class="absolute -top-10 -left-10 w-24 h-24 bg-white/10 rounded-full animate-float"></div> | |
<div class="absolute -bottom-10 -right-10 w-24 h-24 bg-white/10 rounded-full animate-float" style="animation-delay: 2s;"></div> | |
<div class="relative bg-white rounded-xl shadow-2xl overflow-hidden"> | |
<div class="bg-gray-100 h-8 flex items-center px-3 space-x-2"> | |
<div class="w-3 h-3 rounded-full bg-red-500"></div> | |
<div class="w-3 h-3 rounded-full bg-yellow-500"></div> | |
<div class="w-3 h-3 rounded-full bg-green-500"></div> | |
</div> | |
<div class="p-6"> | |
<div class="flex items-center mb-4"> | |
<div class="w-10 h-10 rounded-full bg-gray-200 mr-3"></div> | |
<div> | |
<div class="h-3 w-24 bg-gray-200 rounded mb-1"></div> | |
<div class="h-2 w-16 bg-gray-100 rounded"></div> | |
</div> | |
</div> | |
<div class="space-y-3"> | |
<div class="h-3 w-full bg-gray-200 rounded"></div> | |
<div class="h-3 w-5/6 bg-gray-200 rounded"></div> | |
<div class="h-3 w-4/6 bg-gray-200 rounded"></div> | |
</div> | |
<div class="mt-6 pt-4 border-t border-gray-200 flex justify-between"> | |
<div class="h-8 w-20 bg-gray-200 rounded"></div> | |
<div class="h-8 w-24 bg-purple-600 rounded"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Categories Filter --> | |
<section class="bg-white py-6 border-b border-gray-200 sticky top-16 z-40"> | |
<div class="container mx-auto px-4"> | |
<div class="flex overflow-x-auto category-filter space-x-3 pb-2"> | |
<button class="px-4 py-2 bg-purple-600 text-white rounded-full font-medium whitespace-nowrap"> | |
All Components | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Buttons | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Cards | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Forms | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Navigation | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Loaders | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Modals | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Tabs | |
</button> | |
<button class="px-4 py-2 bg-gray-100 hover:bg-gray-200 rounded-full font-medium whitespace-nowrap"> | |
Tooltips | |
</button> | |
</div> | |
</div> | |
</section> | |
<!-- Main Content --> | |
<main class="container mx-auto px-4 py-12"> | |
<!-- Section Header --> | |
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8"> | |
<div> | |
<h2 class="text-2xl font-bold text-gray-800">Popular UI Components</h2> | |
<p class="text-gray-600">Hand-picked collection of the best UI components</p> | |
</div> | |
<div class="mt-4 md:mt-0 flex space-x-3"> | |
<div class="relative"> | |
<select class="appearance-none bg-gray-100 border-0 rounded-lg pl-4 pr-8 py-2 focus:outline-none focus:ring-2 focus:ring-purple-200"> | |
<option>Sort by Popular</option> | |
<option>Sort by Newest</option> | |
<option>Sort by Trending</option> | |
</select> | |
<div class="absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"> | |
<i class="fas fa-chevron-down text-gray-500"></i> | |
</div> | |
</div> | |
<button class="p-2 bg-gray-100 rounded-lg hover:bg-gray-200"> | |
<i class="fas fa-th-large text-gray-600"></i> | |
</button> | |
<button class="p-2 bg-gray-100 rounded-lg hover:bg-gray-200"> | |
<i class="fas fa-list text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<!-- Components Grid --> | |
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6"> | |
<!-- Component 1 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full"> | |
<div class="flex justify-center space-x-3 mb-3"> | |
<div class="h-10 w-24 bg-purple-500 rounded-lg"></div> | |
<div class="h-10 w-24 bg-purple-100 rounded-lg"></div> | |
</div> | |
<div class="flex justify-center space-x-3"> | |
<div class="h-10 w-24 bg-purple-600 rounded-lg"></div> | |
<div class="h-10 w-24 bg-purple-200 rounded-lg"></div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Button Styles</h3> | |
<p class="text-sm text-gray-500">10 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>248</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@uidesigner</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 2 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full"> | |
<div class="bg-white rounded-lg shadow-sm p-4 max-w-xs mx-auto"> | |
<div class="flex items-center mb-3"> | |
<div class="w-8 h-8 rounded-full bg-purple-100 mr-3 flex items-center justify-center"> | |
<i class="fas fa-user text-purple-600"></i> | |
</div> | |
<div> | |
<div class="h-3 w-24 bg-gray-200 rounded mb-1"></div> | |
<div class="h-2 w-16 bg-gray-100 rounded"></div> | |
</div> | |
</div> | |
<div class="h-3 w-full bg-gray-200 rounded mb-1"></div> | |
<div class="h-3 w-5/6 bg-gray-200 rounded"></div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">User Card</h3> | |
<p class="text-sm text-gray-500">3 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>189</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@creativeui</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 3 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full max-w-xs mx-auto"> | |
<div class="bg-white rounded-lg shadow-sm p-4"> | |
<div class="h-4 w-full bg-gray-200 rounded mb-3"></div> | |
<div class="h-10 w-full border border-gray-300 rounded-lg mb-3 px-3 flex items-center"> | |
<i class="fas fa-envelope text-gray-400 mr-2"></i> | |
<span class="text-gray-500">Email address</span> | |
</div> | |
<div class="h-10 w-full border border-gray-300 rounded-lg mb-4 px-3 flex items-center"> | |
<i class="fas fa-lock text-gray-400 mr-2"></i> | |
<span class="text-gray-500">Password</span> | |
</div> | |
<div class="h-10 w-full bg-purple-600 rounded-lg flex items-center justify-center text-white font-medium"> | |
Sign In | |
</div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Login Form</h3> | |
<p class="text-sm text-gray-500">5 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>312</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@formexpert</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 4 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full max-w-xs mx-auto"> | |
<div class="bg-white rounded-lg shadow-sm p-4"> | |
<div class="flex justify-between items-center mb-4"> | |
<h3 class="font-medium">Notifications</h3> | |
<span class="text-xs text-purple-600">3 new</span> | |
</div> | |
<div class="space-y-3"> | |
<div class="flex items-start"> | |
<div class="w-8 h-8 rounded-full bg-purple-100 mr-3 flex items-center justify-center"> | |
<i class="fas fa-bell text-purple-600"></i> | |
</div> | |
<div> | |
<p class="text-sm font-medium">New message</p> | |
<p class="text-xs text-gray-500">You have 3 new messages</p> | |
</div> | |
</div> | |
<div class="flex items-start"> | |
<div class="w-8 h-8 rounded-full bg-blue-100 mr-3 flex items-center justify-center"> | |
<i class="fas fa-user-plus text-blue-600"></i> | |
</div> | |
<div> | |
<p class="text-sm font-medium">New connection</p> | |
<p class="text-xs text-gray-500">John started following you</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Notification Dropdown</h3> | |
<p class="text-sm text-gray-500">7 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>176</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@notifmaster</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 5 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full max-w-xs mx-auto"> | |
<div class="bg-white rounded-lg shadow-sm p-4"> | |
<div class="flex items-center justify-between mb-4"> | |
<h3 class="font-medium">Select Plan</h3> | |
<div class="flex items-center bg-gray-100 rounded-full p-1"> | |
<button class="px-3 py-1 text-xs bg-white rounded-full shadow-sm">Monthly</button> | |
<button class="px-3 py-1 text-xs">Yearly</button> | |
</div> | |
</div> | |
<div class="space-y-3"> | |
<div class="border border-gray-200 rounded-lg p-3"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h4 class="font-medium">Basic</h4> | |
<p class="text-xs text-gray-500">Essential features</p> | |
</div> | |
<span class="font-bold">$9</span> | |
</div> | |
</div> | |
<div class="border border-purple-200 bg-purple-50 rounded-lg p-3"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h4 class="font-medium text-purple-600">Pro</h4> | |
<p class="text-xs text-gray-500">For professionals</p> | |
</div> | |
<span class="font-bold text-purple-600">$29</span> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Pricing Toggle</h3> | |
<p class="text-sm text-gray-500">4 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>154</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@pricingui</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 6 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full max-w-xs mx-auto"> | |
<div class="bg-white rounded-lg shadow-sm p-4"> | |
<div class="flex items-center justify-between mb-4"> | |
<h3 class="font-medium">Product Card</h3> | |
<button class="w-6 h-6 rounded-full bg-gray-100 flex items-center justify-center"> | |
<i class="fas fa-heart text-gray-400"></i> | |
</button> | |
</div> | |
<div class="bg-gray-100 rounded-lg h-32 mb-3 flex items-center justify-center"> | |
<i class="fas fa-image text-gray-300 text-3xl"></i> | |
</div> | |
<div class="flex justify-between items-end"> | |
<div> | |
<h4 class="font-medium">Wireless Headphones</h4> | |
<p class="text-sm text-gray-500">Noise cancelling</p> | |
</div> | |
<span class="font-bold">$199</span> | |
</div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Product Card</h3> | |
<p class="text-sm text-gray-500">8 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>287</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@shopui</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 7 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full max-w-xs mx-auto"> | |
<div class="bg-white rounded-lg shadow-sm p-4"> | |
<div class="flex items-center mb-4"> | |
<div class="w-3 h-6 bg-purple-600 rounded-l"></div> | |
<div class="h-1 w-8 bg-purple-400"></div> | |
<div class="h-1 w-5 bg-purple-200"></div> | |
<div class="h-1 w-3 bg-purple-100"></div> | |
</div> | |
<div class="h-3 w-full bg-gray-200 rounded mb-2"></div> | |
<div class="h-3 w-4/5 bg-gray-200 rounded mb-2"></div> | |
<div class="h-3 w-3/4 bg-gray-200 rounded mb-4"></div> | |
<div class="h-2 w-1/2 bg-gray-200 rounded"></div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Content Loader</h3> | |
<p class="text-sm text-gray-500">6 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>203</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@loadmaster</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
<!-- Component 8 --> | |
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition"> | |
<div class="relative h-48 bg-gray-100 flex items-center justify-center"> | |
<div class="p-4 w-full max-w-xs mx-auto"> | |
<div class="bg-white rounded-lg shadow-sm p-4"> | |
<div class="flex items-center justify-between mb-4"> | |
<h3 class="font-medium">Progress</h3> | |
<span class="text-sm font-medium text-purple-600">75%</span> | |
</div> | |
<div class="w-full bg-gray-200 rounded-full h-2 mb-2"> | |
<div class="bg-purple-600 h-2 rounded-full" style="width: 75%"></div> | |
</div> | |
<div class="flex justify-between text-xs text-gray-500"> | |
<span>0</span> | |
<span>50</span> | |
<span>100</span> | |
</div> | |
</div> | |
</div> | |
<div class="component-actions absolute top-0 right-0 p-3 opacity-0 transition"> | |
<button class="w-9 h-9 bg-white rounded-full shadow flex items-center justify-center hover:bg-gray-100"> | |
<i class="fas fa-heart text-gray-600"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="flex justify-between items-start"> | |
<div> | |
<h3 class="font-bold text-gray-800">Progress Bar</h3> | |
<p class="text-sm text-gray-500">9 variations</p> | |
</div> | |
<div class="flex items-center text-sm text-gray-500"> | |
<i class="fas fa-heart mr-1 text-red-500"></i> | |
<span>167</span> | |
</div> | |
</div> | |
<div class="mt-3 flex justify-between items-center"> | |
<div class="flex items-center"> | |
<div class="w-6 h-6 rounded-full bg-gray-300 mr-2"></div> | |
<span class="text-sm text-gray-600">@progressui</span> | |
</div> | |
<button class="text-sm text-purple-600 hover:text-purple-800 font-medium"> | |
View Code | |
</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Load More --> | |
<div class="text-center mt-12"> | |
<button class="px-6 py-3 bg-white border border-gray-200 rounded-lg font-medium hover:bg-gray-50 shadow-sm"> | |
Load More Components | |
</button> | |
</div> | |
</main> | |
<!-- Newsletter --> | |
<section class="bg-gray-50 py-16"> | |
<div class="container mx-auto px-4 max-w-4xl text-center"> | |
<h2 class="text-2xl font-bold text-gray-800 mb-2">Get UI inspiration in your inbox</h2> | |
<p class="text-gray-600 mb-8">Join our newsletter and receive weekly UI components, templates and design resources</p> | |
<div class="flex flex-col sm:flex-row justify-center max-w-md mx-auto"> | |
<input type="email" placeholder="Your email address" class="px-4 py-3 border border-gray-300 rounded-lg mb-2 sm:mb-0 sm:mr-2 focus:outline-none focus:ring-2 focus:ring-purple-200"> | |
<button class="px-6 py-3 bg-gradient-to-r from-purple-600 to-indigo-600 text-white rounded-lg font-medium hover:opacity-90 transition"> | |
Subscribe | |
</button> | |
</div> | |
</div> | |
</section> | |
<!-- Footer --> | |
<footer class="bg-white border-t border-gray-200 py-12"> | |
<div class="container mx-auto px-4"> | |
<div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<div class="flex items-center mb-4"> | |
<div class="w-8 h-8 gradient-bg rounded-lg flex items-center justify-center"> | |
<i class="fas fa-cubes text-white"></i> | |
</div> | |
<span class="ml-2 font-bold text-gray-800 text-lg">UIverse</span> | |
</div> | |
<p class="text-gray-600 mb-4">The best place to find design inspiration and UI components for your next project.</p> | |
<div class="flex space-x-4"> | |
<a href="#" class="w-8 h-8 bg-gray-100 rounded-full flex items-center justify-center text-gray-600 hover:bg-gray-200"> | |
<i class="fab fa-twitter"></i> | |
</a> | |
<a href="#" class="w-8 h-8 bg-gray-100 rounded-full flex items-center justify-center text-gray-600 hover:bg-gray-200"> | |
<i class="fab fa-instagram"></i> | |
</a> | |
<a href="#" class="w-8 h-8 bg-gray-100 rounded-full flex items-center justify-center text-gray-600 hover:bg-gray-200"> | |
<i class="fab fa-github"></i> | |
</a> | |
<a href="#" class="w-8 h-8 bg-gray-100 rounded-full flex items-center justify-center text-gray-600 hover:bg-gray-200"> | |
<i class="fab fa-dribbble"></i> | |
</a> | |
</div> | |
</div> | |
<div> | |
<h3 class="font-bold text-gray-800 mb-4">Components</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Buttons</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Cards</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Forms</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Navigation</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Loaders</a></li> | |
</ul> | |
</div> | |
<div> | |
<h3 class="font-bold text-gray-800 mb-4">Resources</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Templates</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Inspiration</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Blog</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Documentation</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Guides</a></li> | |
</ul> | |
</div> | |
<div> | |
<h3 class="font-bold text-gray-800 mb-4">Company</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">About</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Careers</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Contact</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Privacy</a></li> | |
<li><a href="#" class="text-gray-600 hover:text-purple-600">Terms</a></li> | |
</ul> | |
</div> | |
</div> | |
<div class="border-t border-gray-200 mt-12 pt-8 text-center text-gray-500 text-sm"> | |
<p>© 2023 UIverse. All rights reserved.</p> | |
</div> | |
</div> | |
</footer> | |
<script> | |
// Simple script to handle like button clicks | |
document.addEventListener('DOMContentLoaded', function() { | |
const likeButtons = document.querySelectorAll('.component-actions button'); | |
likeButtons.forEach(button => { | |
button.addEventListener('click', function(e) { | |
e.stopPropagation(); | |
const icon = this.querySelector('i'); | |
if (icon.classList.contains('text-red-500')) { | |
icon.classList.remove('text-red-500'); | |
icon.classList.add('text-gray-600'); | |
} else { | |
icon.classList.remove('text-gray-600'); | |
icon.classList.add('text-red-500'); | |
} | |
}); | |
}); | |
// Mobile menu toggle would go here | |
}); | |
</script> | |
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=SilentProgrammer/uiverse-web" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
</html> |