Spaces:
Running
Running
Prompt: "Generate a sleek UI element of a glowing neon button labeled 'AI Mode'. The button should be pill-shaped with a dark background and a vibrant animated RGB border trail. The border should appear like it's moving around the button edge, transitioning smoothly between red, orange, yellow, cyan, and purple hues. The center of the button should have a matte black or dark grey fill with white bold text. Include a subtle soft glow and blur around the edge to enhance the futuristic AI aesthetic. The style should be modern, minimal, and tech-oriented." Generate 5 unique variations of this glowing 'AI Mode' button with different color emphasis and subtle glow styles. Keep the background dark and futuristic." - Initial Deployment
Browse files- README.md +7 -5
- index.html +311 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: button-design-ui
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: yellow
|
| 5 |
+
colorTo: yellow
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,311 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Neon AI Mode Buttons</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script>
|
| 9 |
+
tailwind.config = {
|
| 10 |
+
theme: {
|
| 11 |
+
extend: {
|
| 12 |
+
animation: {
|
| 13 |
+
'border-pulse': 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
| 14 |
+
'border-rotate': 'rotate 3s linear infinite',
|
| 15 |
+
},
|
| 16 |
+
keyframes: {
|
| 17 |
+
pulse: {
|
| 18 |
+
'0%, 100%': { 'box-shadow': '0 0 10px 0px rgba(59, 130, 246, 0.5)' },
|
| 19 |
+
'50%': { 'box-shadow': '0 0 20px 5px rgba(59, 130, 246, 0.8)' },
|
| 20 |
+
},
|
| 21 |
+
rotate: {
|
| 22 |
+
'0%': { transform: 'rotate(0deg)' },
|
| 23 |
+
'100%': { transform: 'rotate(360deg)' },
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
</script>
|
| 30 |
+
<style type="text/css">
|
| 31 |
+
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700&display=swap');
|
| 32 |
+
|
| 33 |
+
body {
|
| 34 |
+
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
|
| 35 |
+
min-height: 100vh;
|
| 36 |
+
display: flex;
|
| 37 |
+
flex-direction: column;
|
| 38 |
+
align-items: center;
|
| 39 |
+
justify-content: center;
|
| 40 |
+
font-family: 'Orbitron', sans-serif;
|
| 41 |
+
overflow-x: hidden;
|
| 42 |
+
position: relative;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
body::before {
|
| 46 |
+
content: "";
|
| 47 |
+
position: absolute;
|
| 48 |
+
top: 0;
|
| 49 |
+
left: 0;
|
| 50 |
+
right: 0;
|
| 51 |
+
bottom: 0;
|
| 52 |
+
background:
|
| 53 |
+
radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
|
| 54 |
+
radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
|
| 55 |
+
z-index: -1;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.grid-pattern {
|
| 59 |
+
position: absolute;
|
| 60 |
+
top: 0;
|
| 61 |
+
left: 0;
|
| 62 |
+
width: 100%;
|
| 63 |
+
height: 100%;
|
| 64 |
+
background-image:
|
| 65 |
+
linear-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px),
|
| 66 |
+
linear-gradient(90deg, rgba(30, 41, 59, 0.3) 1px, transparent 1px);
|
| 67 |
+
background-size: 40px 40px;
|
| 68 |
+
z-index: -1;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.neon-button {
|
| 72 |
+
position: relative;
|
| 73 |
+
border-radius: 9999px;
|
| 74 |
+
background: #0f172a;
|
| 75 |
+
font-weight: 700;
|
| 76 |
+
letter-spacing: 1px;
|
| 77 |
+
text-transform: uppercase;
|
| 78 |
+
transition: all 0.3s ease;
|
| 79 |
+
overflow: hidden;
|
| 80 |
+
z-index: 1;
|
| 81 |
+
font-family: 'Orbitron', sans-serif;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.neon-button::before {
|
| 85 |
+
content: '';
|
| 86 |
+
position: absolute;
|
| 87 |
+
top: 0;
|
| 88 |
+
left: 0;
|
| 89 |
+
width: 100%;
|
| 90 |
+
height: 100%;
|
| 91 |
+
background: conic-gradient(
|
| 92 |
+
rgba(255, 0, 0, 0.8),
|
| 93 |
+
rgba(255, 165, 0, 0.8),
|
| 94 |
+
rgba(255, 255, 0, 0.8),
|
| 95 |
+
rgba(0, 255, 255, 0.8),
|
| 96 |
+
rgba(128, 0, 128, 0.8),
|
| 97 |
+
rgba(255, 0, 0, 0.8)
|
| 98 |
+
);
|
| 99 |
+
border-radius: inherit;
|
| 100 |
+
z-index: -1;
|
| 101 |
+
animation: rotate 3s linear infinite;
|
| 102 |
+
filter: blur(8px);
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.neon-button::after {
|
| 106 |
+
content: '';
|
| 107 |
+
position: absolute;
|
| 108 |
+
top: 1.5px;
|
| 109 |
+
left: 1.5px;
|
| 110 |
+
right: 1.5px;
|
| 111 |
+
bottom: 1.5px;
|
| 112 |
+
background: #0f172a;
|
| 113 |
+
border-radius: inherit;
|
| 114 |
+
z-index: -1;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.neon-button:hover {
|
| 118 |
+
transform: translateY(-2px);
|
| 119 |
+
box-shadow: 0 0 25px rgba(0, 195, 255, 0.5);
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
.neon-button:active {
|
| 123 |
+
transform: translateY(1px);
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
/* Variation 1 - Blue Emphasis */
|
| 127 |
+
.v1::before {
|
| 128 |
+
background: conic-gradient(
|
| 129 |
+
rgba(0, 195, 255, 0.9),
|
| 130 |
+
rgba(0, 140, 255, 0.9),
|
| 131 |
+
rgba(100, 100, 255, 0.9),
|
| 132 |
+
rgba(0, 255, 255, 0.9),
|
| 133 |
+
rgba(0, 195, 255, 0.9)
|
| 134 |
+
);
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
.v1:hover {
|
| 138 |
+
box-shadow: 0 0 25px rgba(0, 195, 255, 0.7);
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
/* Variation 2 - Purple Emphasis */
|
| 142 |
+
.v2::before {
|
| 143 |
+
background: conic-gradient(
|
| 144 |
+
rgba(180, 0, 255, 0.9),
|
| 145 |
+
rgba(139, 92, 246, 0.9),
|
| 146 |
+
rgba(192, 132, 252, 0.9),
|
| 147 |
+
rgba(180, 0, 255, 0.9)
|
| 148 |
+
);
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
.v2:hover {
|
| 152 |
+
box-shadow: 0 0 25px rgba(180, 0, 255, 0.7);
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* Variation 3 - Green Emphasis */
|
| 156 |
+
.v3::before {
|
| 157 |
+
background: conic-gradient(
|
| 158 |
+
rgba(0, 255, 150, 0.9),
|
| 159 |
+
rgba(50, 255, 50, 0.9),
|
| 160 |
+
rgba(0, 255, 200, 0.9),
|
| 161 |
+
rgba(0, 255, 150, 0.9)
|
| 162 |
+
);
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
.v3:hover {
|
| 166 |
+
box-shadow: 0 0 25px rgba(0, 255, 150, 0.7);
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
/* Variation 4 - Red/Orange Emphasis */
|
| 170 |
+
.v4::before {
|
| 171 |
+
background: conic-gradient(
|
| 172 |
+
rgba(255, 50, 50, 0.9),
|
| 173 |
+
rgba(255, 165, 0, 0.9),
|
| 174 |
+
rgba(255, 100, 0, 0.9),
|
| 175 |
+
rgba(255, 50, 50, 0.9)
|
| 176 |
+
);
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
.v4:hover {
|
| 180 |
+
box-shadow: 0 0 25px rgba(255, 50, 50, 0.7);
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
/* Variation 5 - Pink/Purple Emphasis */
|
| 184 |
+
.v5::before {
|
| 185 |
+
background: conic-gradient(
|
| 186 |
+
rgba(255, 0, 200, 0.9),
|
| 187 |
+
rgba(255, 105, 180, 0.9),
|
| 188 |
+
rgba(200, 0, 255, 0.9),
|
| 189 |
+
rgba(255, 0, 200, 0.9)
|
| 190 |
+
);
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
.v5:hover {
|
| 194 |
+
box-shadow: 0 0 25px rgba(255, 0, 200, 0.7);
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
.glow {
|
| 198 |
+
position: absolute;
|
| 199 |
+
width: 100%;
|
| 200 |
+
height: 100%;
|
| 201 |
+
border-radius: inherit;
|
| 202 |
+
filter: blur(15px);
|
| 203 |
+
opacity: 0.7;
|
| 204 |
+
z-index: -2;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
@keyframes rotate {
|
| 208 |
+
from {
|
| 209 |
+
transform: rotate(0deg);
|
| 210 |
+
}
|
| 211 |
+
to {
|
| 212 |
+
transform: rotate(360deg);
|
| 213 |
+
}
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
@media (max-width: 768px) {
|
| 217 |
+
.button-container {
|
| 218 |
+
flex-direction: column;
|
| 219 |
+
gap: 2.5rem;
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
.neon-button {
|
| 223 |
+
padding: 0.75rem 1.75rem;
|
| 224 |
+
font-size: 0.875rem;
|
| 225 |
+
}
|
| 226 |
+
}
|
| 227 |
+
</style>
|
| 228 |
+
</head>
|
| 229 |
+
<body>
|
| 230 |
+
<div class="grid-pattern"></div>
|
| 231 |
+
|
| 232 |
+
<div class="text-center mb-16 z-10">
|
| 233 |
+
<h1 class="text-4xl md:text-5xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-cyan-400 to-purple-500 mb-3">
|
| 234 |
+
NEON AI BUTTONS
|
| 235 |
+
</h1>
|
| 236 |
+
<p class="text-slate-400 max-w-2xl mx-auto px-4">
|
| 237 |
+
Futuristic glowing neon buttons with animated RGB trails. Each variation has unique color emphasis and glow characteristics.
|
| 238 |
+
</p>
|
| 239 |
+
</div>
|
| 240 |
+
|
| 241 |
+
<div class="button-container flex flex-wrap justify-center items-center gap-10 px-4 z-10">
|
| 242 |
+
<!-- Variation 1 -->
|
| 243 |
+
<div class="relative">
|
| 244 |
+
<div class="absolute -inset-4 bg-cyan-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
|
| 245 |
+
<button class="neon-button v1 px-8 py-3 text-cyan-200">
|
| 246 |
+
AI Mode
|
| 247 |
+
</button>
|
| 248 |
+
<div class="glow bg-cyan-500 animate-pulse"></div>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<!-- Variation 2 -->
|
| 252 |
+
<div class="relative">
|
| 253 |
+
<div class="absolute -inset-4 bg-purple-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
|
| 254 |
+
<button class="neon-button v2 px-8 py-3 text-purple-200">
|
| 255 |
+
AI Mode
|
| 256 |
+
</button>
|
| 257 |
+
<div class="glow bg-purple-500 animate-pulse"></div>
|
| 258 |
+
</div>
|
| 259 |
+
|
| 260 |
+
<!-- Variation 3 -->
|
| 261 |
+
<div class="relative">
|
| 262 |
+
<div class="absolute -inset-4 bg-emerald-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
|
| 263 |
+
<button class="neon-button v3 px-8 py-3 text-emerald-200">
|
| 264 |
+
AI Mode
|
| 265 |
+
</button>
|
| 266 |
+
<div class="glow bg-emerald-500 animate-pulse"></div>
|
| 267 |
+
</div>
|
| 268 |
+
|
| 269 |
+
<!-- Variation 4 -->
|
| 270 |
+
<div class="relative">
|
| 271 |
+
<div class="absolute -inset-4 bg-orange-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
|
| 272 |
+
<button class="neon-button v4 px-8 py-3 text-orange-200">
|
| 273 |
+
AI Mode
|
| 274 |
+
</button>
|
| 275 |
+
<div class="glow bg-orange-500 animate-pulse"></div>
|
| 276 |
+
</div>
|
| 277 |
+
|
| 278 |
+
<!-- Variation 5 -->
|
| 279 |
+
<div class="relative">
|
| 280 |
+
<div class="absolute -inset-4 bg-pink-500 rounded-full filter blur-xl opacity-30 animate-pulse"></div>
|
| 281 |
+
<button class="neon-button v5 px-8 py-3 text-pink-200">
|
| 282 |
+
AI Mode
|
| 283 |
+
</button>
|
| 284 |
+
<div class="glow bg-pink-500 animate-pulse"></div>
|
| 285 |
+
</div>
|
| 286 |
+
</div>
|
| 287 |
+
|
| 288 |
+
<div class="mt-16 text-slate-500 text-sm text-center max-w-2xl px-4 z-10">
|
| 289 |
+
<p>Each button features a continuously rotating RGB border trail with a unique color emphasis. The matte black center provides contrast for crisp white text, while the outer glow enhances the futuristic aesthetic.</p>
|
| 290 |
+
</div>
|
| 291 |
+
|
| 292 |
+
<script>
|
| 293 |
+
// Add interactive effects to buttons
|
| 294 |
+
document.querySelectorAll('.neon-button').forEach(button => {
|
| 295 |
+
button.addEventListener('mousemove', (e) => {
|
| 296 |
+
const rect = button.getBoundingClientRect();
|
| 297 |
+
const x = e.clientX - rect.left;
|
| 298 |
+
const y = e.clientY - rect.top;
|
| 299 |
+
|
| 300 |
+
button.style.setProperty('--x', `${x}px`);
|
| 301 |
+
button.style.setProperty('--y', `${y}px`);
|
| 302 |
+
});
|
| 303 |
+
|
| 304 |
+
button.addEventListener('mouseleave', () => {
|
| 305 |
+
button.style.removeProperty('--x');
|
| 306 |
+
button.style.removeProperty('--y');
|
| 307 |
+
});
|
| 308 |
+
});
|
| 309 |
+
</script>
|
| 310 |
+
<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=ProjectGenesis/button-design-ui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 311 |
+
</html>
|