Action Card by ilkhoeri
Zoom
Saved
1 line⌘Z Undo
1<!--2 Author: ilkhoeri3 Source: https://uiverse.io/ilkhoeri/smooth-quail-874 License: MIT5 Tags: #action #card #click-effect #simple #terminal #text #text-animation #uiverse6-->7<div class="card">8 <div class="wrap">9 <div class="terminal">10 <hgroup class="head">11 <p class="title">12 <svg width="16px" height="16px" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="currentColor" fill="none">13 <path d="M7 15L10 12L7 9M13 15H17M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z">14 </path>15 </svg>16 Terminal17 </p>18 <button class="copy_toggle" tabindex="-1" type="button">19 <svg width="16px" height="16px" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="currentColor" fill="none">20 <path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2">21 </path>22 <path d="M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z">23 </path>24 </svg>25 </button>26 </hgroup>27 <div class="body">28 <pre class="pre">29 <code>- </code>30 <code>npx </code>31 <code class="cmd" data-cmd="create-react-app@latest">32 </code>33 </pre>34 </div>35 </div>36 </div>37</div>
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
<!--
Author: ilkhoeri
Source: https://uiverse.io/ilkhoeri/smooth-quail-87
License: MIT
Tags: #action #card #click-effect #simple #terminal #text #text-animation #uiverse
-->
<div class="card">
<div class="wrap">
<div class="terminal">
<hgroup class="head">
<p class="title">
<svg width="16px" height="16px" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="currentColor" fill="none">
<path d="M7 15L10 12L7 9M13 15H17M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z">
</path>
</svg>
Terminal
</p>
<button class="copy_toggle" tabindex="-1" type="button">
<svg width="16px" height="16px" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="currentColor" fill="none">
<path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2">
</path>
<path d="M9 3m0 2a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v0a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2z">
</path>
</svg>
</button>
</hgroup>
<div class="body">
<pre class="pre">
<code>- </code>
<code>npx </code>
<code class="cmd" data-cmd="create-react-app@latest">
</code>
</pre>
</div>
</div>
</div>
</div>1/* * Author: ilkhoeri * Source: https://uiverse.io/ilkhoeri/smooth-quail-87 * License: MIT * Tags: #action #card #click-effect #simple #terminal #text #text-animation #uiverse */2/* * From Uiverse.io by ilkhoeri - https://uiverse.io/ilkhoeri/smooth-quail-87 * MIT License - Copyright (c) 2023 Uiverse.io and its contributors * https://github.com/uiverse-io/galaxy/blob/main/LICENSE */3.card {4 padding: 1rem;5 overflow: hidden;6 border: 1px solid #c5c5c5;7 border-radius: 12px;8 background-color: #d9d9d92f;9 backdrop-filter: blur(8px);10 min-width: 344px;11}12.wrap {13 display: flex;14 flex-direction: column;15 gap: 1rem;16 position: relative;17 z-index: 10;18 border: 0.5px solid #525252;19 border-radius: 8px;20 overflow: hidden;21}22.terminal {23 display: flex;24 flex-direction: column;25 font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;26}27.head {28 display: flex;29 align-items: center;30 justify-content: space-between;31 overflow: hidden;32 min-height: 40px;33 padding-inline: 12px;34 border-top-left-radius: 8px;35 border-top-right-radius: 8px;36 background-color: #202425;37}38.title {39 display: flex;40 align-items: center;41 gap: 8px;42 height: 2.5rem;43 user-select: none;44 font-weight: 600;45 overflow: hidden;46 text-overflow: ellipsis;47 white-space: nowrap;48 color: #8e8e8e;49}50.title > svg {51 height: 18px;52 width: 18px;53 margin-top: 2px;54 color: #006adc;55}56.copy_toggle {57 display: flex;58 align-items: center;59 justify-content: center;60 padding: 0.25rem;61 border: 0.65px solid #c1c2c5;62 margin-left: auto;63 border-radius: 6px;64 background-color: #202425;65 color: #8e8e8e;66 cursor: pointer;67}68.copy_toggle > svg {69 width: 20px;70 height: 20px;71}72.copy_toggle:active > svg > path, .copy_toggle:focus-within > svg > path {73 animation: clipboard-check 500ms linear forwards;74}75.body {76 display: flex;77 flex-direction: column;78 position: relative;79 border-bottom-right-radius: 8px;80 border-bottom-left-radius: 8px;81 overflow-x: auto;82 padding: 1rem;83 line-height: 19px;84 color: white;85 background-color: black;86 white-space: nowrap;87}88.pre {89 display: flex;90 flex-direction: row;91 align-items: center;92 text-wrap: nowrap;93 white-space: pre;94 background-color: transparent;95 overflow: hidden;96 box-sizing: border-box;97 font-size: 16px;98}99.pre code:nth-child(1) {100 color: #575757;101}102.pre code:nth-child(2) {103 color: #e34ba9;104}105.cmd {106 height: 19px;107 position: relative;108 display: flex;109 align-items: center;110 flex-direction: row;111}112.cmd::before {113 content: attr(data-cmd);114 position: relative;115 display: block;116 white-space: nowrap;117 overflow: hidden;118 background-color: transparent;119 animation: inputs 8s steps(22) infinite;120}121.cmd::after {122 content: "";123 position: relative;124 display: block;125 height: 100%;126 overflow: hidden;127 background-color: transparent;128 border-right: 0.15em solid #e34ba9;129 animation: cursor 0.5s step-end infinite alternate, blinking 0.5s infinite;130}131@keyframes blinking {132 20%, 80% {133 transform: scaleY(1);134 }135 50% {136 transform: scaleY(0);137 }138}139@keyframes cursor {140 50% {141 border-right-color: transparent;142 }143}144@keyframes inputs {145 0%, 100% {146 width: 0;147 }148 10%, 90% {149 width: 58px;150 }151 30%, 70% {152 width: 215px;153 max-width: max-content;154 }155}156@keyframes clipboard-check {157 100% {158 color: #fff;159 d: path( "M 9 5 H 7 a 2 2 0 0 0 -2 2 v 12 a 2 2 0 0 0 2 2 h 10 a 2 2 0 0 0 2 -2 V 7 a 2 2 0 0 0 -2 -2 h -2 M 9 5 a 2 2 0 0 0 2 2 h 2 a 2 2 0 0 0 2 -2 M 9 5 a 2 2 0 0 1 2 -2 h 2 a 2 2 0 0 1 2 2 m -6 9 l 2 2 l 4 -4" );160 }161}
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
/* * Author: ilkhoeri * Source: https://uiverse.io/ilkhoeri/smooth-quail-87 * License: MIT * Tags: #action #card #click-effect #simple #terminal #text #text-animation #uiverse */
/* * From Uiverse.io by ilkhoeri - https://uiverse.io/ilkhoeri/smooth-quail-87 * MIT License - Copyright (c) 2023 Uiverse.io and its contributors * https://github.com/uiverse-io/galaxy/blob/main/LICENSE */
.card {
padding: 1rem;
overflow: hidden;
border: 1px solid #c5c5c5;
border-radius: 12px;
background-color: #d9d9d92f;
backdrop-filter: blur(8px);
min-width: 344px;
}
.wrap {
display: flex;
flex-direction: column;
gap: 1rem;
position: relative;
z-index: 10;
border: 0.5px solid #525252;
border-radius: 8px;
overflow: hidden;
}
.terminal {
display: flex;
flex-direction: column;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.head {
display: flex;
align-items: center;
justify-content: space-between;
overflow: hidden;
min-height: 40px;
padding-inline: 12px;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
background-color: #202425;
}
.title {
display: flex;
align-items: center;
gap: 8px;
height: 2.5rem;
user-select: none;
font-weight: 600;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #8e8e8e;
}
.title > svg {
height: 18px;
width: 18px;
margin-top: 2px;
color: #006adc;
}
.copy_toggle {
display: flex;
align-items: center;
justify-content: center;
padding: 0.25rem;
border: 0.65px solid #c1c2c5;
margin-left: auto;
border-radius: 6px;
background-color: #202425;
color: #8e8e8e;
cursor: pointer;
}
.copy_toggle > svg {
width: 20px;
height: 20px;
}
.copy_toggle:active > svg > path, .copy_toggle:focus-within > svg > path {
animation: clipboard-check 500ms linear forwards;
}
.body {
display: flex;
flex-direction: column;
position: relative;
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
overflow-x: auto;
padding: 1rem;
line-height: 19px;
color: white;
background-color: black;
white-space: nowrap;
}
.pre {
display: flex;
flex-direction: row;
align-items: center;
text-wrap: nowrap;
white-space: pre;
background-color: transparent;
overflow: hidden;
box-sizing: border-box;
font-size: 16px;
}
.pre code:nth-child(1) {
color: #575757;
}
.pre code:nth-child(2) {
color: #e34ba9;
}
.cmd {
height: 19px;
position: relative;
display: flex;
align-items: center;
flex-direction: row;
}
.cmd::before {
content: attr(data-cmd);
position: relative;
display: block;
white-space: nowrap;
overflow: hidden;
background-color: transparent;
animation: inputs 8s steps(22) infinite;
}
.cmd::after {
content: "";
position: relative;
display: block;
height: 100%;
overflow: hidden;
background-color: transparent;
border-right: 0.15em solid #e34ba9;
animation: cursor 0.5s step-end infinite alternate, blinking 0.5s infinite;
}
@keyframes blinking {
20%, 80% {
transform: scaleY(1);
}
50% {
transform: scaleY(0);
}
}
@keyframes cursor {
50% {
border-right-color: transparent;
}
}
@keyframes inputs {
0%, 100% {
width: 0;
}
10%, 90% {
width: 58px;
}
30%, 70% {
width: 215px;
max-width: max-content;
}
}
@keyframes clipboard-check {
100% {
color: #fff;
d: path( "M 9 5 H 7 a 2 2 0 0 0 -2 2 v 12 a 2 2 0 0 0 2 2 h 10 a 2 2 0 0 0 2 -2 V 7 a 2 2 0 0 0 -2 -2 h -2 M 9 5 a 2 2 0 0 0 2 2 h 2 a 2 2 0 0 0 2 -2 M 9 5 a 2 2 0 0 1 2 -2 h 2 a 2 2 0 0 1 2 2 m -6 9 l 2 2 l 4 -4" );
}
}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.
Action card created by ilkhoeri on Uiverse.io. Open source under the MIT license.
Community
You need to sign in before you can write a comment.