Animated Notification by codepeek
Zoom
Saved
1 line⌘Z Undo
1<!--2 Author: @codepeek3 License: MIT4 Tags: #animated #form #light #minimal #progress5-->6<section class="upl" aria-label="Uploads">7 <header class="upl__head">8 <h3 class="upl__title">Uploading to Ribera / Drawings</h3>9 <span>2 of 3</span>10 </header>11 <ul class="upl__list" aria-live="polite">12 <li class="upl__row upl__row--done" style="--upl-p:100">13 <span class="upl__file" data-ext="PDF" aria-hidden="true">14 </span>15 <div class="upl__info">16 <p class="upl__name">site-plan_v7.pdf</p>17 <p class="upl__meta">2.4 MB · Uploaded</p>18 <div class="upl__bar" role="progressbar" aria-label="site-plan_v7.pdf" aria-valuemin="0" aria-valuemax="100" aria-valuenow="100">19 <i>20 </i>21 </div>22 </div>23 <span class="upl__ok" aria-hidden="true">24 </span>25 </li>26 <li class="upl__row upl__row--active" style="--upl-p:54">27 <span class="upl__file" data-ext="PNG" aria-hidden="true">28 </span>29 <div class="upl__info">30 <p class="upl__name">facade-render_dusk.png</p>31 <p class="upl__meta">4.4 of 8.1 MB · 54%</p>32 <div class="upl__bar" role="progressbar" aria-label="facade-render_dusk.png" aria-valuemin="0" aria-valuemax="100" aria-valuenow="54">33 <i>34 </i>35 </div>36 </div>37 <button class="upl__act" type="button" aria-label="Cancel upload of facade-render_dusk.png">38 <svg viewBox="0 0 16 16" aria-hidden="true">39 <path d="M4 4l8 8M12 4l-8 8"/>40 </svg>41 </button>42 </li>43 <li class="upl__row upl__row--fail" style="--upl-p:12">44 <span class="upl__file" data-ext="DWG" aria-hidden="true">45 </span>46 <div class="upl__info">47 <p class="upl__name">survey_2026-11.dwg</p>48 <p class="upl__meta">31 MB · Connection lost at 12%</p>49 <div class="upl__bar" role="progressbar" aria-label="survey_2026-11.dwg" aria-valuemin="0" aria-valuemax="100" aria-valuenow="12">50 <i>51 </i>52 </div>53 </div>54 <button class="upl__retry" type="button">Retry</button>55 </li>56 </ul>57</section>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!--
Author: @codepeek
License: MIT
Tags: #animated #form #light #minimal #progress
-->
<section class="upl" aria-label="Uploads">
<header class="upl__head">
<h3 class="upl__title">Uploading to Ribera / Drawings</h3>
<span>2 of 3</span>
</header>
<ul class="upl__list" aria-live="polite">
<li class="upl__row upl__row--done" style="--upl-p:100">
<span class="upl__file" data-ext="PDF" aria-hidden="true">
</span>
<div class="upl__info">
<p class="upl__name">site-plan_v7.pdf</p>
<p class="upl__meta">2.4 MB · Uploaded</p>
<div class="upl__bar" role="progressbar" aria-label="site-plan_v7.pdf" aria-valuemin="0" aria-valuemax="100" aria-valuenow="100">
<i>
</i>
</div>
</div>
<span class="upl__ok" aria-hidden="true">
</span>
</li>
<li class="upl__row upl__row--active" style="--upl-p:54">
<span class="upl__file" data-ext="PNG" aria-hidden="true">
</span>
<div class="upl__info">
<p class="upl__name">facade-render_dusk.png</p>
<p class="upl__meta">4.4 of 8.1 MB · 54%</p>
<div class="upl__bar" role="progressbar" aria-label="facade-render_dusk.png" aria-valuemin="0" aria-valuemax="100" aria-valuenow="54">
<i>
</i>
</div>
</div>
<button class="upl__act" type="button" aria-label="Cancel upload of facade-render_dusk.png">
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M4 4l8 8M12 4l-8 8"/>
</svg>
</button>
</li>
<li class="upl__row upl__row--fail" style="--upl-p:12">
<span class="upl__file" data-ext="DWG" aria-hidden="true">
</span>
<div class="upl__info">
<p class="upl__name">survey_2026-11.dwg</p>
<p class="upl__meta">31 MB · Connection lost at 12%</p>
<div class="upl__bar" role="progressbar" aria-label="survey_2026-11.dwg" aria-valuemin="0" aria-valuemax="100" aria-valuenow="12">
<i>
</i>
</div>
</div>
<button class="upl__retry" type="button">Retry</button>
</li>
</ul>
</section>1/* * Author: @codepeek * License: MIT * Tags: #animated #form #light #minimal #progress */2.upl {3 width: 350px;4 padding: 16px;5 border-radius: 12px;6 background: #efe9dd;7 color: #1b1b1b;8 font-family: system-ui, -apple-system, "Segoe UI", sans-serif;9 box-shadow: 0 0 0 1px rgba(27, 27, 27, 0.1), 0 16px 30px -18px rgba(27, 27, 27, 0.45);10}11.upl *, .upl *::before, .upl *::after {12 box-sizing: border-box;13}14.upl__head {15 display: flex;16 align-items: baseline;17 justify-content: space-between;18 margin-bottom: 10px;19}20.upl__title {21 margin: 0;22 font-size: 13px;23 font-weight: 700;24}25.upl__head span {26 color: #6b6357;27 font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;28}29.upl__list {30 display: grid;31 gap: 8px;32 margin: 0;33 padding: 0;34 list-style: none;35}36.upl__row {37 --upl-c: #1f3fbf;38 display: grid;39 grid-template-columns: 26px 1fr auto;40 align-items: center;41 gap: 12px;42 padding: 10px 12px;43 border-radius: 8px;44 background: #faf7f1;45}46.upl__row--done {47 --upl-c: #1f4d3a;48}49.upl__row--fail {50 --upl-c: #b8341d;51 background: #f8e6df;52}53.upl__file {54 position: relative;55 width: 26px;56 height: 32px;57 background: var(--upl-c);58 clip-path: polygon(0 0, 68% 0, 100% 26%, 100% 100%, 0 100%);59}60.upl__file::before {61 content: "";62 position: absolute;63 inset: 0 0 auto auto;64 width: 32%;65 height: 26%;66 background: rgba(255, 255, 255, 0.45);67}68.upl__file::after {69 content: attr(data-ext);70 position: absolute;71 inset: auto 0 4px 0;72 color: #fff;73 font: 700 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace;74 text-align: center;75}76.upl__info {77 min-width: 0;78}79.upl__name {80 margin: 0;81 overflow: hidden;82 font-size: 13px;83 font-weight: 600;84 white-space: nowrap;85 text-overflow: ellipsis;86}87.upl__meta {88 margin: 2px 0 6px;89 color: #6b6357;90 font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;91}92.upl__bar {93 height: 5px;94 overflow: hidden;95 border-radius: 3px;96 background: rgba(27, 27, 27, 0.1);97}98.upl__bar i {99 display: block;100 width: calc(var(--upl-p) * 1%);101 height: 100%;102 border-radius: inherit;103 background: var(--upl-c);104}105.upl__row--active .upl__bar i {106 background: repeating-linear-gradient(-45deg, #1f3fbf 0 6px, #5470dc 6px 12px) 0 0 / 16.97px 16.97px;107 animation: upl-stripe 0.7s linear infinite;108}109@keyframes upl-stripe {110 to {111 background-position: 16.97px 0;112 }113}114.upl__ok {115 position: relative;116 width: 22px;117 height: 22px;118 border-radius: 50%;119 background: #1f4d3a;120}121.upl__ok::after {122 content: "";123 position: absolute;124 top: 5px;125 left: 8px;126 width: 5px;127 height: 9px;128 border: solid #faf7f1;129 border-width: 0 2px 2px 0;130 transform: rotate(45deg);131 animation: upl-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;132}133@keyframes upl-pop {134 from {135 transform: rotate(45deg) scale(0);136 }137}138.upl__act {139 display: grid;140 place-items: center;141 width: 26px;142 height: 26px;143 padding: 0;144 border: 0;145 border-radius: 50%;146 background: transparent;147 color: #6b6357;148 cursor: pointer;149 transition: background 0.15s, color 0.15s;150}151.upl__act svg {152 width: 13px;153 height: 13px;154 stroke: currentColor;155 stroke-width: 1.8;156 stroke-linecap: round;157}158.upl__act:hover {159 background: rgba(27, 27, 27, 0.08);160 color: #1b1b1b;161}162.upl__retry {163 height: 26px;164 padding: 0 10px;165 border: 1px solid #b8341d;166 border-radius: 999px;167 background: transparent;168 color: #b8341d;169 font: 600 11px/1 system-ui, -apple-system, "Segoe UI", sans-serif;170 cursor: pointer;171 transition: background 0.15s, color 0.15s;172}173.upl__retry:hover {174 background: #b8341d;175 color: #fff;176}177.upl button:focus-visible {178 outline: 2px solid #1f3fbf;179 outline-offset: 2px;180}181@media (prefers-reduced-motion: reduce) {182 .upl__row--active .upl__bar i, .upl__ok::after {183 animation: none;184 }185}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/* * Author: @codepeek * License: MIT * Tags: #animated #form #light #minimal #progress */
.upl {
width: 350px;
padding: 16px;
border-radius: 12px;
background: #efe9dd;
color: #1b1b1b;
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
box-shadow: 0 0 0 1px rgba(27, 27, 27, 0.1), 0 16px 30px -18px rgba(27, 27, 27, 0.45);
}
.upl *, .upl *::before, .upl *::after {
box-sizing: border-box;
}
.upl__head {
display: flex;
align-items: baseline;
justify-content: space-between;
margin-bottom: 10px;
}
.upl__title {
margin: 0;
font-size: 13px;
font-weight: 700;
}
.upl__head span {
color: #6b6357;
font: 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.upl__list {
display: grid;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.upl__row {
--upl-c: #1f3fbf;
display: grid;
grid-template-columns: 26px 1fr auto;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: 8px;
background: #faf7f1;
}
.upl__row--done {
--upl-c: #1f4d3a;
}
.upl__row--fail {
--upl-c: #b8341d;
background: #f8e6df;
}
.upl__file {
position: relative;
width: 26px;
height: 32px;
background: var(--upl-c);
clip-path: polygon(0 0, 68% 0, 100% 26%, 100% 100%, 0 100%);
}
.upl__file::before {
content: "";
position: absolute;
inset: 0 0 auto auto;
width: 32%;
height: 26%;
background: rgba(255, 255, 255, 0.45);
}
.upl__file::after {
content: attr(data-ext);
position: absolute;
inset: auto 0 4px 0;
color: #fff;
font: 700 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
text-align: center;
}
.upl__info {
min-width: 0;
}
.upl__name {
margin: 0;
overflow: hidden;
font-size: 13px;
font-weight: 600;
white-space: nowrap;
text-overflow: ellipsis;
}
.upl__meta {
margin: 2px 0 6px;
color: #6b6357;
font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.upl__bar {
height: 5px;
overflow: hidden;
border-radius: 3px;
background: rgba(27, 27, 27, 0.1);
}
.upl__bar i {
display: block;
width: calc(var(--upl-p) * 1%);
height: 100%;
border-radius: inherit;
background: var(--upl-c);
}
.upl__row--active .upl__bar i {
background: repeating-linear-gradient(-45deg, #1f3fbf 0 6px, #5470dc 6px 12px) 0 0 / 16.97px 16.97px;
animation: upl-stripe 0.7s linear infinite;
}
@keyframes upl-stripe {
to {
background-position: 16.97px 0;
}
}
.upl__ok {
position: relative;
width: 22px;
height: 22px;
border-radius: 50%;
background: #1f4d3a;
}
.upl__ok::after {
content: "";
position: absolute;
top: 5px;
left: 8px;
width: 5px;
height: 9px;
border: solid #faf7f1;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
animation: upl-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
@keyframes upl-pop {
from {
transform: rotate(45deg) scale(0);
}
}
.upl__act {
display: grid;
place-items: center;
width: 26px;
height: 26px;
padding: 0;
border: 0;
border-radius: 50%;
background: transparent;
color: #6b6357;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.upl__act svg {
width: 13px;
height: 13px;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
}
.upl__act:hover {
background: rgba(27, 27, 27, 0.08);
color: #1b1b1b;
}
.upl__retry {
height: 26px;
padding: 0 10px;
border: 1px solid #b8341d;
border-radius: 999px;
background: transparent;
color: #b8341d;
font: 600 11px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.upl__retry:hover {
background: #b8341d;
color: #fff;
}
.upl button:focus-visible {
outline: 2px solid #1f3fbf;
outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
.upl__row--active .upl__bar i, .upl__ok::after {
animation: none;
}
}Changes made here are only a live preview and will not be saved.
Save to GitHub
GitHub opens a new file in your repository with this element filled in. Review it there and press Commit changes. Nothing is sent from codepeek and no GitHub access is needed.
◉ 1 views
Build it with AIA ready prompt with the code, the credit and how to adapt it to your project.
An upload queue with three states: a finished file whose check pops in, an active file with a moving striped bar and cancel, and a failed upload with Retry.
Choose where to donate
Select a platform to continue.
Community
Comments 0
Code copied
SUPPORT THE CREATOR
Would you like to donate to the creator to help them keep creating content?
You need to sign in before you can write a comment.