ShubhraSaha commited on
Commit
46c141f
·
verified ·
1 Parent(s): bf6ebbe

Create a clean, modern horizontal process timeline section for a UX case study. The layout should be simple, professional, and figma-ready. Use soft pastel colors, rounded pill bars, minimal icons, and three clear phases: Discovery, Design, Delivery.

Browse files

Overall Layout
• Full-width section
• Light pastel gradient background
• Subtle dashed circular shapes behind the timeline
• Centered header:
Title: Process
Subtitle: “A structured workflow blending research, clarity, AI-assisted exploration, and focused decision-making.”

Phase Labels

Place these three labels horizontally at the top, evenly spaced, subtle uppercase:
• Discovery
• Design
• Delivery

Timeline Style
• Horizontal 12-column grid
• Each process step rendered as a rounded, colored horizontal pill
• Each pill uses a unique color and unique length
• Each pill starts and ends in the correct phase
• Include a small left icon (simple, monochrome)
• Text is clear and left-aligned
• Soft shadow + slight glass blur



📌 PROCESS STEPS (with AI workflows integrated)

DISCOVERY PHASE
1. Journey Mapping & UX Analysis
Icon: magnifying glass
Bar length: medium (columns 1 → 4)
Color: pastel mint
2. Problem Framing & Opportunity Definition
Icon: pencil
Bar length: long (columns 1 → 7)
Color: aqua blue
3. AI Research Summaries & Pattern Insights
Icon: sparkle
Bar length: short (columns 2 → 5)
Color: light lime
AI analyzes competitor flows, highlights common friction & trends.



DESIGN PHASE
4. Flows, System Mapping, Information Architecture
Icon: puzzle
Bar length: long (columns 3 → 10)
Color: soft green
5. AI-Generated Early Wireframes & Layout Concepts
Icon: AI chip
Bar length: medium-long (columns 4 → 9)
Color: lavender
AI produces 5–10 exploratory wireframe variations.
6. Interaction Design & Variant Exploration
Icon: cursor
Bar length: long (columns 5 → 11)
Color: lilac
7. AI-Assisted UI Variants & Refinement Suggestions
Icon: sparkle
Bar length: medium (columns 6 → 10)
Color: pastel blue
AI proposes alternative UI versions, spacing tweaks, clarity fixes.



DELIVERY PHASE
8. High-Fidelity Screens & Design System Specs
Icon: document
Bar length: medium (columns 7 → 12)
Color: pale blue
9. Prototype Handoff & Continuous AI Iteration
Icon: rocket
Bar length: long (columns 9 → 13)
Color: cream
AI checks consistency, spacing, contrast, and UX flow integrity.
10. AI Regression Validation & Flow Quality Checks
Icon: checkmark
Bar length: short (columns 10 → 12)
Color: teal
AI verifies screen-to-screen logic and flags mismatches.



🎨 Design Notes
• All bars must have different lengths
• Soft shadows, subtle glow
• Minimal monochrome icons inside white circular holders
• Smooth pastel palette (mint, blue, lavender, cream)
• Figma-friendly vectors, clean spacing



🧾 Deliverable:

A refined, visually clean, figma-ready horizontal process timeline with clear AI workflows in the Discovery and Design phases.

Files changed (5) hide show
  1. README.md +7 -4
  2. components/process-phase.js +79 -0
  3. index.html +200 -19
  4. script.js +14 -0
  5. style.css +43 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Ux Process Flow Visualizer
3
- emoji: 😻
4
- colorFrom: blue
5
  colorTo: pink
 
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: UX Process Flow Visualizer
3
+ colorFrom: red
 
4
  colorTo: pink
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/process-phase.js ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class ProcessPhase extends HTMLElement {
2
+ connectedCallback() {
3
+ const phase = this.getAttribute('phase') || 'Discovery';
4
+ const color = this.getAttribute('color') || 'blue-100';
5
+ const start = this.getAttribute('start') || '1';
6
+ const span = this.getAttribute('span') || '4';
7
+ const icon = this.getAttribute('icon') || 'search';
8
+ const title = this.getAttribute('title') || 'Process Step';
9
+ const desc = this.getAttribute('desc') || '';
10
+
11
+ this.attachShadow({ mode: 'open' });
12
+ this.shadowRoot.innerHTML = `
13
+ <style>
14
+ .phase-container {
15
+ position: relative;
16
+ grid-column-start: ${start};
17
+ grid-column-end: span ${span};
18
+ margin-bottom: 1rem;
19
+ }
20
+ .phase-pill {
21
+ border-radius: 9999px;
22
+ padding: 0.75rem 1.5rem;
23
+ display: flex;
24
+ align-items: center;
25
+ background-color: rgba(219, 234, 254, 0.8);
26
+ backdrop-filter: blur(4px);
27
+ box-shadow: 0 1px 3px rgba(0,0,0,0.1);
28
+ transition: all 0.3s ease;
29
+ }
30
+ .phase-pill:hover {
31
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
32
+ }
33
+ .phase-icon {
34
+ flex-shrink: 0;
35
+ height: 2.5rem;
36
+ width: 2.5rem;
37
+ border-radius: 9999px;
38
+ background: white;
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ box-shadow: 0 1px 2px rgba(0,0,0,0.05);
43
+ }
44
+ .phase-content {
45
+ margin-left: 1rem;
46
+ }
47
+ .phase-title {
48
+ color: #1f2937;
49
+ font-weight: 500;
50
+ font-size: 0.9375rem;
51
+ margin: 0;
52
+ }
53
+ .phase-desc {
54
+ color: #4b5563;
55
+ font-size: 0.75rem;
56
+ margin-top: 0.25rem;
57
+ }
58
+ </style>
59
+ <div class="phase-container">
60
+ <div class="phase-pill">
61
+ <div class="phase-icon">
62
+ <i data-feather="${icon}"></i>
63
+ </div>
64
+ <div class="phase-content">
65
+ <h3 class="phase-title">${title}</h3>
66
+ ${desc ? `<p class="phase-desc">${desc}</p>` : ''}
67
+ </div>
68
+ </div>
69
+ </div>
70
+ `;
71
+
72
+ // Initialize feather icons in shadow DOM
73
+ if (window.feather) {
74
+ window.feather.replace({ class: 'phase-icon i' });
75
+ }
76
+ }
77
+ }
78
+
79
+ customElements.define('process-phase', ProcessPhase);
index.html CHANGED
@@ -1,19 +1,200 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>UX Process Timeline</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <link rel="stylesheet" href="style.css">
11
+ </head>
12
+ <body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen py-12">
13
+ <section class="max-w-7xl mx-auto px-4">
14
+ <!-- Header -->
15
+ <div class="text-center mb-16">
16
+ <h1 class="text-4xl font-bold text-gray-800 mb-2">Process</h1>
17
+ <p class="text-lg text-gray-600 max-w-2xl mx-auto">
18
+ A structured workflow blending research, clarity, AI-assisted exploration, and focused decision-making.
19
+ </p>
20
+ </div>
21
+
22
+ <!-- Phase Labels -->
23
+ <div class="grid grid-cols-12 gap-4 mb-8">
24
+ <div class="col-span-4 text-center">
25
+ <span class="uppercase text-sm font-medium text-gray-500 tracking-wider">Discovery</span>
26
+ </div>
27
+ <div class="col-span-4 text-center">
28
+ <span class="uppercase text-sm font-medium text-gray-500 tracking-wider">Design</span>
29
+ </div>
30
+ <div class="col-span-4 text-center">
31
+ <span class="uppercase text-sm font-medium text-gray-500 tracking-wider">Delivery</span>
32
+ </div>
33
+ </div>
34
+
35
+ <!-- Timeline -->
36
+ <div class="relative">
37
+ <!-- Background Grid -->
38
+ <div class="absolute inset-0 grid grid-cols-12 gap-4 z-0">
39
+ <template x-for="i in 12">
40
+ <div class="h-full border-r border-dashed border-gray-200"></div>
41
+ </template>
42
+ </div>
43
+
44
+ <!-- Process Steps -->
45
+ <div class="relative z-10 space-y-6">
46
+ <!-- 1. Journey Mapping -->
47
+ <div class="grid grid-cols-12 gap-4">
48
+ <div class="col-span-4">
49
+ <div class="process-pill bg-green-100">
50
+ <div class="process-icon">
51
+ <i data-feather="search"></i>
52
+ </div>
53
+ <div class="process-content">
54
+ <h3 class="process-title">Journey Mapping & UX Analysis</h3>
55
+ </div>
56
+ </div>
57
+ </div>
58
+ </div>
59
+
60
+ <!-- 2. Problem Framing -->
61
+ <div class="grid grid-cols-12 gap-4">
62
+ <div class="col-span-7">
63
+ <div class="process-pill bg-blue-100">
64
+ <div class="process-icon">
65
+ <i data-feather="edit"></i>
66
+ </div>
67
+ <div class="process-content">
68
+ <h3 class="process-title">Problem Framing & Opportunity Definition</h3>
69
+ </div>
70
+ </div>
71
+ </div>
72
+ </div>
73
+
74
+ <!-- 3. AI Research -->
75
+ <div class="grid grid-cols-12 gap-4">
76
+ <div class="col-start-2 col-span-4">
77
+ <div class="process-pill bg-lime-100">
78
+ <div class="process-icon">
79
+ <i data-feather="zap"></i>
80
+ </div>
81
+ <div class="process-content">
82
+ <h3 class="process-title">AI Research Summaries & Pattern Insights</h3>
83
+ <p class="process-desc">AI analyzes competitor flows, highlights common friction & trends.</p>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </div>
88
+
89
+ <!-- 4. System Mapping -->
90
+ <div class="grid grid-cols-12 gap-4">
91
+ <div class="col-start-3 col-span-8">
92
+ <div class="process-pill bg-emerald-100">
93
+ <div class="process-icon">
94
+ <i data-feather="box"></i>
95
+ </div>
96
+ <div class="process-content">
97
+ <h3 class="process-title">Flows, System Mapping, Information Architecture</h3>
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+
103
+ <!-- 5. AI Wireframes -->
104
+ <div class="grid grid-cols-12 gap-4">
105
+ <div class="col-start-4 col-span-6">
106
+ <div class="process-pill bg-purple-100">
107
+ <div class="process-icon">
108
+ <i data-feather="cpu"></i>
109
+ </div>
110
+ <div class="process-content">
111
+ <h3 class="process-title">AI-Generated Early Wireframes & Layout Concepts</h3>
112
+ <p class="process-desc">AI produces 5–10 exploratory wireframe variations.</p>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ </div>
117
+
118
+ <!-- 6. Interaction Design -->
119
+ <div class="grid grid-cols-12 gap-4">
120
+ <div class="col-start-5 col-span-7">
121
+ <div class="process-pill bg-violet-100">
122
+ <div class="process-icon">
123
+ <i data-feather="mouse-pointer"></i>
124
+ </div>
125
+ <div class="process-content">
126
+ <h3 class="process-title">Interaction Design & Variant Exploration</h3>
127
+ </div>
128
+ </div>
129
+ </div>
130
+ </div>
131
+
132
+ <!-- 7. AI UI Refinement -->
133
+ <div class="grid grid-cols-12 gap-4">
134
+ <div class="col-start-6 col-span-5">
135
+ <div class="process-pill bg-sky-100">
136
+ <div class="process-icon">
137
+ <i data-feather="zap"></i>
138
+ </div>
139
+ <div class="process-content">
140
+ <h3 class="process-title">AI-Assisted UI Variants & Refinement Suggestions</h3>
141
+ <p class="process-desc">AI proposes alternative UI versions, spacing tweaks, clarity fixes.</p>
142
+ </div>
143
+ </div>
144
+ </div>
145
+ </div>
146
+
147
+ <!-- 8. High-Fidelity -->
148
+ <div class="grid grid-cols-12 gap-4">
149
+ <div class="col-start-7 col-span-6">
150
+ <div class="process-pill bg-cyan-100">
151
+ <div class="process-icon">
152
+ <i data-feather="file-text"></i>
153
+ </div>
154
+ <div class="process-content">
155
+ <h3 class="process-title">High-Fidelity Screens & Design System Specs</h3>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ </div>
160
+
161
+ <!-- 9. Prototype Handoff -->
162
+ <div class="grid grid-cols-12 gap-4">
163
+ <div class="col-start-9 col-span-5">
164
+ <div class="process-pill bg-amber-50">
165
+ <div class="process-icon">
166
+ <i data-feather="send"></i>
167
+ </div>
168
+ <div class="process-content">
169
+ <h3 class="process-title">Prototype Handoff & Continuous AI Iteration</h3>
170
+ <p class="process-desc">AI checks consistency, spacing, contrast, and UX flow integrity.</p>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </div>
175
+
176
+ <!-- 10. AI Validation -->
177
+ <div class="grid grid-cols-12 gap-4">
178
+ <div class="col-start-10 col-span-3">
179
+ <div class="process-pill bg-teal-100">
180
+ <div class="process-icon">
181
+ <i data-feather="check-circle"></i>
182
+ </div>
183
+ <div class="process-content">
184
+ <h3 class="process-title">AI Regression Validation & Flow Quality Checks</h3>
185
+ <p class="process-desc">AI verifies screen-to-screen logic and flags mismatches.</p>
186
+ </div>
187
+ </div>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </section>
193
+
194
+ <script>
195
+ feather.replace();
196
+ </script>
197
+ <script src="script.js"></script>
198
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
199
+ </body>
200
+ </html>
script.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ document.addEventListener('DOMContentLoaded', () => {
2
+ // Animation for process pills
3
+ const pills = document.querySelectorAll('.process-pill');
4
+ pills.forEach((pill, index) => {
5
+ pill.style.opacity = '0';
6
+ pill.style.transform = 'translateY(20px)';
7
+
8
+ setTimeout(() => {
9
+ pill.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
10
+ pill.style.opacity = '1';
11
+ pill.style.transform = 'translateY(0)';
12
+ }, 150 * index);
13
+ });
14
+ });
style.css CHANGED
@@ -1,28 +1,52 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .process-pill {
2
+ @apply rounded-full py-3 px-6 flex items-center;
3
+ @apply shadow-sm backdrop-blur-sm bg-opacity-80;
4
+ @apply transition-all duration-300 hover:shadow-md;
5
+ position: relative;
6
+ overflow: hidden;
7
+ }
8
+
9
+ .process-pill::before {
10
+ content: '';
11
+ @apply absolute inset-0;
12
+ background: rgba(255, 255, 255, 0.7);
13
+ z-index: -1;
14
+ border-radius: 9999px;
15
  }
16
 
17
+ .process-icon {
18
+ @apply flex-shrink-0 h-10 w-10 rounded-full bg-white flex items-center justify-center;
19
+ @apply shadow-sm text-gray-700;
20
  }
21
 
22
+ .process-content {
23
+ @apply ml-4;
 
 
 
24
  }
25
 
26
+ .process-title {
27
+ @apply text-gray-800 font-medium;
28
+ font-size: 15px;
 
 
 
29
  }
30
 
31
+ .process-desc {
32
+ @apply text-gray-600 text-sm mt-1;
33
  }
34
+
35
+ body {
36
+ background-image:
37
+ radial-gradient(circle at 10% 20%, rgba(200, 253, 255, 0.2) 0%, transparent 20%),
38
+ radial-gradient(circle at 90% 80%, rgba(200, 240, 210, 0.2) 0%, transparent 20%);
39
+ }
40
+
41
+ /* Responsive adjustments */
42
+ @media (max-width: 768px) {
43
+ .process-pill {
44
+ @apply py-2 px-4;
45
+ }
46
+ .process-icon {
47
+ @apply h-8 w-8;
48
+ }
49
+ .process-title {
50
+ font-size: 14px;
51
+ }
52
+ }