Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
1149 lines (1048 loc) · 67.4 KB
/
Copy pathindex.html
File metadata and controls
1149 lines (1048 loc) · 67.4 KB
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<meta charset="UTF-8">
<script>
// Theme initialization to prevent flicker
(function () {
const savedTheme = localStorage.getItem('theme') || 'dark';
if (savedTheme === 'system') {
document.documentElement.removeAttribute('data-theme');
} else {
document.documentElement.setAttribute('data-theme', savedTheme);
}
})();
</script>
<meta name="google" content="notranslate">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<!-- Primary SEO Metadata -->
<title>Icon Studio | Design, Customize & Export App Icons</title>
<meta name="description"
content="Create beautiful, customized app icons with rich gradients, skeuomorphic gloss, and custom badges. Share configurations instantly or download high-resolution PNGs.">
<meta name="keywords"
content="icon generator, app icon designer, custom app badges, gradient icons, skeuomorphic app icons, PNG export, share icons, glassmorphic icons">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://iconstudio.ryanmarch.me/">
<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Icon Studio">
<meta property="og:url" content="https://iconstudio.ryanmarch.me/">
<meta property="og:title" content="Icon Studio | Design, Customize & Export App Icons">
<meta property="og:description"
content="Create beautiful, customized app icons with rich gradients, skeuomorphic gloss, and custom badges. Share configurations instantly or download high-resolution PNGs.">
<meta property="og:image" content="https://iconstudio.ryanmarch.me/assets/favicon/web-app-manifest-512x512.png">
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap"
rel="stylesheet">
<!-- Icons -->
<link rel="preconnect" href="https://unpkg.com" crossorigin>
<script src="https://unpkg.com/lucide@latest" defer crossorigin="anonymous"></script>
<!-- Favicons -->
<link rel="icon" type="image/png" href="/assets/favicon/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="/assets/favicon/favicon.svg" />
<link rel="shortcut icon" href="/assets/favicon/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="Icon Studio" />
<meta name="theme-color" content="#020617" />
<link rel="manifest" href="/assets/favicon/site.webmanifest" />
<!-- External Assets -->
<link rel="stylesheet" href="style.css?v=4.0.4">
<script src="/js/components.js" type="module"></script>
</head>
<body id="main-body" class="marketing-home">
<iconstudio-header active-page="home"></iconstudio-header>
<main class="marketing-container">
<!-- Hero Section -->
<section class="hero-section">
<div class="hero-showcase">
<div class="hero-col hero-col--left">
<span class="pill-tag">No account required</span>
<h1 class="hero-title">Design Stunning App Icons in Seconds</h1>
<p class="lead">Create icons with customizable badges, rich gradients, and multiple effects.</p>
<div class="hero-buttons">
<a href="app/" class="btn btn-primary" id="hero-cta-start">Launch App</a>
<a href="support/" class="btn btn-secondary" id="hero-cta-guides">Explore Guides</a>
</div>
</div>
<div class="hero-col hero-col--right">
<div class="icon-window-container">
<div class="icon-window-frame">
<div class="window-header">
<div class="window-dots">
<span class="window-dot red"></span>
<span class="window-dot yellow"></span>
<span class="window-dot green"></span>
</div>
<div class="window-title" id="showcaseVariantTitle">Sunset Glow</div>
</div>
<div class="icon-viewport">
<div class="showcase-icon-card" id="showcaseCard">
<div class="showcase-icon-backdrop" id="showcaseBackdrop">
<div class="showcase-icon-frame-overlay" id="showcaseFrameOverlay"></div>
<div class="showcase-icon-gloss" id="showcaseGloss"></div>
<div class="showcase-icon-center" id="showcaseCenter">
<!-- SVG/HTML injected dynamically -->
</div>
</div>
<div class="showcase-badge" id="showcaseBadge">
<div class="showcase-badge-shape" id="showcaseBadgeShape">
<!-- Lucide icon injected dynamically -->
</div>
</div>
</div>
</div>
<div class="showcase-nav" id="showcaseNav">
<!-- Navigation indicators injected dynamically -->
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Sandbox Preview Section -->
<section class="sandbox-section">
<div class="sandbox-container">
<div class="sandbox-header">
<h2 class="section-title">Try a Random Design</h2>
<p class="section-desc">Generate beautiful icon styles with a single click and launch them instantly
in the app.</p>
</div>
<div class="sandbox-playground">
<div class="sandbox-preview-wrapper">
<div class="sandbox-icon-card" id="sandboxCard">
<div class="sandbox-icon-backdrop" id="sandboxBackdrop">
<div class="sandbox-icon-gloss" id="sandboxGloss"></div>
<div class="sandbox-icon-center" id="sandboxCenter"></div>
</div>
<div class="sandbox-badge" id="sandboxBadge">
<div class="sandbox-badge-shape" id="sandboxBadgeShape"></div>
</div>
</div>
</div>
<div class="sandbox-controls">
<button class="btn btn-secondary" id="btnRollRandom">
<span>🎲 Surprise Me</span>
</button>
<a href="app/" class="btn btn-primary" id="btnCustomizeRandom">Customize this Icon</a>
</div>
</div>
</div>
</section>
<!-- How It Works Section -->
<section class="how-it-works-section" id="howItWorksSection">
<h2 class="section-title">Build Your Design</h2>
<p class="section-desc">Create your custom assets with endless customizability.</p>
<div class="steps-grid">
<div class="step-card card-left">
<div class="step-image">
<div class="step-image-widget widget-customize" id="widgetCustomize">
<div class="widget-ui-panel">
<div class="ui-option-row">
<span class="ui-label">Shape</span>
<div class="ui-button-group">
<button class="ui-btn active" id="btn-shape-squircle">Squircle</button>
<button class="ui-btn" id="btn-shape-circle">Circle</button>
<button class="ui-btn" id="btn-shape-hexagon">Hexagon</button>
</div>
</div>
</div>
<div class="widget-preview-area">
<div class="widget-preview-icon squircle" id="customizePreviewIcon">
<div class="widget-icon-bg"></div>
<div class="widget-icon-gloss"></div>
<div class="widget-icon-content">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
<circle cx="9" cy="9" r="2" />
<path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" />
</svg>
</div>
</div>
</div>
<div class="virtual-cursor" id="customizeCursor" style="opacity: 0;"></div>
</div>
</div>
<div class="step-content">
<h3>Customize Layout</h3>
<p>Choose colors, gradients, corner radius, frames, and even add your own images.</p>
</div>
</div>
<div class="step-card card-right">
<div class="step-image">
<div class="step-image-widget widget-badges" id="widgetBadges">
<div class="widget-preview-area">
<div class="widget-preview-icon squircle">
<div class="widget-icon-bg"></div>
<div class="widget-icon-gloss"></div>
<div class="widget-icon-content">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path
d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z" />
<path d="m9 12 2 2 4-4" />
</svg>
</div>
<div class="widget-badge pos-top-right" id="widgetBadgeEl">
<div class="widget-badge-shape">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9" />
<path d="M13.73 21a2 2 0 0 1-3.46 0" />
</svg>
</div>
</div>
</div>
</div>
<div class="widget-ui-overlay">
<div class="corner-indicator top-left" id="ind-top-left"></div>
<div class="corner-indicator top-right active" id="ind-top-right"></div>
<div class="corner-indicator bottom-left" id="ind-bottom-left"></div>
<div class="corner-indicator bottom-right" id="ind-bottom-right"></div>
</div>
</div>
</div>
<div class="step-content">
<h3>Add Badges & Effects</h3>
<p>Overlay skeuomorphic glossy reflections, choose badge colors and shapes, and pick from
hundreds of icons.</p>
</div>
</div>
<div class="step-card card-center">
<div class="step-image">
<div class="step-image-widget widget-export" id="widgetExport">
<div class="widget-export-flow">
<button class="widget-download-btn" id="widgetExportBtn">
<span class="btn-text">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round"
style="display:inline-block; vertical-align:middle; margin-right:4px;">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<polyline points="7 10 12 15 17 10" />
<line x1="12" y1="15" x2="12" y2="3" />
</svg>
Export PNG
</span>
<span class="btn-spinner"></span>
<span class="btn-success">
<svg viewBox="0 0 24 24" width="16" height="16" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round"
style="display:inline-block; vertical-align:middle; margin-right:4px;">
<polyline points="20 6 9 17 4 12" />
</svg>
Exported!
</span>
</button>
<div class="export-preview-grid" id="widgetExportGrid">
<div class="preview-item size-lg">
<div class="preview-icon-wrapper squircle"></div>
<span class="preview-label">iOS</span>
</div>
<div class="preview-item size-md">
<div class="preview-icon-wrapper circle"></div>
<span class="preview-label">Android</span>
</div>
<div class="preview-item size-sm">
<div class="preview-icon-wrapper roundrect"></div>
<span class="preview-label">Favicon</span>
</div>
</div>
</div>
<div class="virtual-cursor" id="exportCursor" style="opacity: 0;"></div>
</div>
</div>
<div class="step-content">
<h3>Export & Share</h3>
<p>Download the finished design as a high-resolution image, or share to a friend to keep the
design going.</p>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="features-section">
<h2 class="section-title">Built for Customization</h2>
<p class="section-desc">Packed with tools to make icon creation simple and highly interactive.</p>
<div class="features-grid">
<article class="feature-card">
<div class="feature-header">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5" />
</svg>
</div>
<h3>Skeuomorphic Overlays</h3>
</div>
<p>Apply multi-layered glass effects, frames, and shadows for a physical, tactile feel.</p>
</article>
<article class="feature-card">
<div class="feature-header">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
<circle cx="8.5" cy="8.5" r="1.5" />
<polyline points="21 15 16 10 5 21" />
</svg>
</div>
<h3>Rich Backgrounds</h3>
</div>
<p>Choose solid colors, gradients, or upload your own images to create the perfect
backgrounds.</p>
</article>
<article class="feature-card">
<div class="feature-header">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<rect x="3" y="7" width="14" height="14" rx="3" />
<circle cx="17" cy="7" r="4" fill="currentColor" />
</svg>
</div>
<h3>Dynamic Badges</h3>
</div>
<p>Place notification badges anywhere on the icon perimeter, control border widths,
colors, and positioning.</p>
</article>
<article class="feature-card">
<div class="feature-header">
<div class="feature-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M16 6l-4-4-4 4M12 2v13" />
</svg>
</div>
<h3>Instant Sharing</h3>
</div>
<p>Create configurations and share a link to reload the exact design instantly on any device.</p>
</article>
</div>
</section>
<!-- Use Cases Section -->
<section class="use-cases-section">
<h2 class="section-title">Tailored for Every Platform</h2>
<p class="section-desc">Create custom graphics matching native requirements and design languages.</p>
<div class="use-cases-grid">
<article class="use-case-card">
<div class="use-case-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="5" y="2" width="14" height="20" rx="2" ry="2"></rect>
<line x1="12" y1="18" x2="12.01" y2="18"></line>
</svg>
</div>
<h3>Mobile Apps</h3>
<p>Design stunning app icons for iOS squircles and Android adaptive layouts.</p>
</article>
<article class="use-case-card">
<div class="use-case-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect>
<line x1="8" y1="21" x2="16" y2="21"></line>
<line x1="12" y1="17" x2="12" y2="21"></line>
</svg>
</div>
<h3>Desktop Apps</h3>
<p>Add skeuomorphic glass reflections and frame borders perfect for macOS dock styling.</p>
</article>
<article class="use-case-card">
<div class="use-case-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 11.034V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.197"></path>
<path d="M20 2H14a2 2 0 0 0-2 2v3.5"></path>
<path d="M12 18h.01"></path>
</svg>
</div>
<h3>Progressive Web Apps</h3>
<p>Generate matching shortcut badges, favicons, and splash-screen-ready icons.</p>
</article>
</div>
<!-- Real-World Previews Grid -->
<section class="real-world-section">
<h2 class="section-title">Designed for Your Real-World Workflow</h2>
<p class="section-desc">See how pre-badged icons fit seamlessly into your favorite apps and
devices.</p>
<div class="real-world-grid">
<div class="real-world-card">
<div class="real-world-mockup">
<div class="sidebar-mockup-frame">
<div class="sidebar-mockup-aside">
<div class="sidebar-mockup-item">
<div class="sidebar-mockup-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<rect x="3" y="3" width="7" height="9" rx="1" />
<rect x="14" y="3" width="7" height="5" rx="1" />
<rect x="14" y="12" width="7" height="9" rx="1" />
<rect x="3" y="16" width="7" height="5" rx="1" />
</svg>
</div>
<div class="sidebar-mockup-text"></div>
</div>
<div class="sidebar-mockup-item active">
<div class="sidebar-mockup-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round">
<path
d="M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z" />
</svg>
<span class="sidebar-badge-dot"
style="position: absolute; width: 6px; height: 6px; background: #10b981; border-radius: 50%; top: 1px; right: -26px; border: 1px solid #0f172a;"></span>
</div>
<div class="sidebar-mockup-text"
style="background: var(--accent); opacity: 0.6;"></div>
</div>
<div class="sidebar-mockup-item">
<div class="sidebar-mockup-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path
d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z" />
<path d="m9 12 2 2 4-4" />
</svg>
</div>
<div class="sidebar-mockup-text"></div>
</div>
</div>
<div class="sidebar-mockup-content">
<div class="sidebar-mockup-title"></div>
<div class="sidebar-mockup-row" style="width: 85%;"></div>
<div class="sidebar-mockup-row" style="width: 70%;"></div>
<div class="sidebar-mockup-row" style="width: 90%;"></div>
</div>
</div>
</div>
<div class="real-world-info">
<h3>Dashboard In-App Sidebar</h3>
<p>Highlight active files, new notifications, or pending user reviews with subtle badges in
navigation sidebars.</p>
</div>
</div>
<!-- Stream Deck / Macro Key -->
<div class="real-world-card">
<div class="real-world-mockup">
<div class="streamdeck-key">
<div class="streamdeck-screen">
<div class="streamdeck-icon">
<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round"
style="width: 70%; height: 70%; opacity: 0.95;">
<path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z" />
<path d="M19 10v1a7 7 0 0 1-14 0v-1" />
<line x1="12" y1="19" x2="12" y2="22" />
</svg>
<div class="streamdeck-badge">
<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2.5"
stroke-linecap="round" stroke-linejoin="round"
style="width: 100%; height: 100%;">
<line x1="18" y1="6" x2="6" y2="18"></line>
</svg>
</div>
</div>
</div>
</div>
</div>
<div class="real-world-info">
<h3>Stream Deck / Macro Key</h3>
<p>Map high-contrast indicators directly onto macro bezel displays to show mute status,
warning alerts, or hotkey actions.</p>
</div>
</div>
<!-- Custom Desktop Folder -->
<div class="real-world-card">
<div class="real-world-mockup">
<div class="desktop-mockup-wallpaper">
<div class="desktop-folder-wrapper">
<div class="desktop-folder-icon"
style="background: linear-gradient(135deg, #38bdf8, #0284c7); border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); width: 64px; height: 64px; position: relative;">
<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2"
stroke-linecap="round" stroke-linejoin="round"
style="width: 50%; height: 50%;">
<path
d="M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z" />
</svg>
<div
style="position: absolute; width: 18px; height: 18px; background: #10b981; border-radius: 50%; bottom: -4px; right: -4px; border: 2px solid #0f172a; display: flex; align-items: center; justify-content: center;">
<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3"
stroke-linecap="round" stroke-linejoin="round"
style="width: 70%; height: 70%;">
<polyline points="20 6 9 17 4 12" />
</svg>
</div>
</div>
<span class="desktop-folder-label">Projects</span>
</div>
</div>
</div>
<div class="real-world-info">
<h3>Custom Desktop Folder</h3>
<p>Give your macOS or Windows system a unique look by applying customizable badges to
folders on your desktop wallpaper.</p>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="faq-section">
<h2 class="section-title">Frequently Asked Questions</h2>
<p class="section-desc">Got questions about Icon Studio? We've got answers.</p>
<div class="faq-accordion">
<div class="faq-item">
<button class="faq-trigger" aria-expanded="false">
<span>Is Icon Studio free to use?</span>
<svg class="chevron-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
<div class="faq-content">
<div class="faq-content-inner">
<p>Yes, Icon Studio is free to use. You can design, customize, and export as many
icons as you need without creating an account or subscribing.</p>
</div>
</div>
</div>
<div class="faq-item">
<button class="faq-trigger" aria-expanded="false">
<span>Can I use the exported icons in commercial projects?</span>
<svg class="chevron-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
<div class="faq-content">
<div class="faq-content-inner">
<p>Absolutely! All assets you generate and export from Icon Studio can be used for both
personal and commercial distribution without restriction or attribution
requirements.
</p>
</div>
</div>
</div>
<div class="faq-item">
<button class="faq-trigger" aria-expanded="false">
<span>What formats and resolutions are supported?</span>
<svg class="chevron-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
<div class="faq-content">
<div class="faq-content-inner">
<p>Icon Studio supports exporting to high-resolution PNG format, perfect for app
packaging.
You can also share your configuration instantly using deep links.</p>
</div>
</div>
</div>
<div class="faq-item">
<button class="faq-trigger" aria-expanded="false">
<span>How does the live sharing feature work?</span>
<svg class="chevron-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polyline points="6 9 12 15 18 9"></polyline>
</svg>
</button>
<div class="faq-content">
<div class="faq-content-inner">
<p>When you click share, the app encodes your entire customized setup into a URL. Send
this
URL to anyone, and they'll load your exact setup, styles, and configurations
instantly
in their browser.</p>
</div>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta-section">
<div class="cta-card">
<h2>Ready to Build Your Perfect Icon?</h2>
<p>Launch the editor right in your browser and start designing immediately. No installation or
account
required.</p>
<a href="app/" class="btn btn-primary btn-large">Launch Icon Studio</a>
</div>
</section>
</main>
<script>
// Hero Interactive Showcase Logic
document.addEventListener('DOMContentLoaded', () => {
const variants = [
{
title: "Simple Users",
gradient: "linear-gradient(135deg, #3b82f6, #1D0945)",
baseShape: "squircle",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff;"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/></svg>`,
centerStyle: "icon-rendered",
gloss: false,
shadow: "0 20px 40px -10px rgba(29,9,69,0.7)",
badgeColor: "#3b82f6",
badgeShape: "circle",
badgeIcon: `<path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><circle cx="9" cy="7" r="4"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><path d="M16 3.13a4 4 0 0 1 0 7.75"/>`,
badgePos: "bottom-right"
},
{
title: "Candy Star",
gradient: "linear-gradient(135deg, #9333ea, #1D0945)",
baseShape: "squircle",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff;"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>`,
centerStyle: "icon-rendered",
gloss: true,
shadow: "0 20px 40px -10px rgba(147,51,234,0.6)",
badgeColor: "#ef4444",
badgeShape: "squircle",
badgeIcon: `<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>`,
badgePos: "bottom-left"
},
{
title: "Sunset Bell",
gradient: "linear-gradient(135deg, #f97316, #e11d48)",
baseShape: "roundrect",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff;"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/></svg>`,
centerStyle: "icon-rendered",
gloss: true,
shadow: "0 20px 40px -10px rgba(249,115,22,0.6)",
badgeColor: "#f59e0b",
badgeShape: "hexagon",
badgeIcon: `<path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/>`,
badgePos: "top-right"
},
{
title: "Mint Heart",
gradient: "linear-gradient(135deg, #10b981, #06b6d4)",
baseShape: "circle",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff;"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></svg>`,
centerStyle: "icon-rendered",
gloss: true,
shadow: "0 20px 40px -10px rgba(16,185,129,0.6)",
badgeColor: "#ec4899",
badgeShape: "circle",
badgeIcon: `<path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/>`,
badgePos: "top-left"
},
{
title: "Royal Crown",
// vibrant background gradient suitable for semi-transparent overlay
gradient: "linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(236, 72, 153, 0.45))",
baseShape: "squircle",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));"><path d="M2 4 5 12h14l3-8-7 4-3-6-3 6-7-4z"/><path d="M3 20h18a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1z"/></svg>`,
centerStyle: "icon-rendered",
gloss: true,
frame: "glass",
shadow: "0 20px 40px -10px rgba(168,85,247,0.5)",
badgeColor: "#ec4899",
badgeShape: "circle",
badgeIcon: `<path d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"/><path d="m9 12 2 2 4-4"/>`,
badgePos: "top-right"
},
{
title: "Blue Rocket",
gradient: "linear-gradient(135deg, #0284c7, #1D0945)",
baseShape: "squircle",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff;"><path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"/><path d="m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"/><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"/><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/></svg>`,
centerStyle: "icon-rendered",
gloss: true,
shadow: "0 20px 40px -10px rgba(2,132,199,0.6)",
badgeColor: "#06b6d4",
badgeShape: "circle",
badgeIcon: `<path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"/><path d="m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"/><path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"/><path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/>`,
badgePos: "top-right"
},
{
title: "Pink Palette",
gradient: "linear-gradient(135deg, #a855f7, #ec4899)",
baseShape: "squircle",
centerHTML: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width: 50%; height: 50%; color: #fff;"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z"/></svg>`,
centerStyle: "icon-rendered",
gloss: false,
shadow: "0 20px 40px -10px rgba(168,85,247,0.6)",
badgeColor: "#10b981",
badgeShape: "shield",
badgeIcon: `<circle cx="13.5" cy="6.5" r=".5" fill="currentColor"/><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"/><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"/><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"/><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z"/>`,
badgePos: "bottom-left"
}
];
let currentIndex = 0;
let intervalId = null;
const showcaseCard = document.getElementById('showcaseCard');
const showcaseBackdrop = document.getElementById('showcaseBackdrop');
const showcaseGloss = document.getElementById('showcaseGloss');
const showcaseFrameOverlay = document.getElementById('showcaseFrameOverlay');
const showcaseCenter = document.getElementById('showcaseCenter');
const showcaseBadge = document.getElementById('showcaseBadge');
const showcaseBadgeShape = document.getElementById('showcaseBadgeShape');
const showcaseVariantTitle = document.getElementById('showcaseVariantTitle');
const showcaseNav = document.getElementById('showcaseNav');
// Render navigation indicators
variants.forEach((v, index) => {
const btn = document.createElement('button');
btn.className = `showcase-indicator ${index === 0 ? 'active' : ''}`;
btn.setAttribute('aria-label', `Go to ${v.title}`);
btn.addEventListener('click', () => {
selectVariant(index);
resetInterval();
});
showcaseNav.appendChild(btn);
});
function updateIndicators() {
const indicators = showcaseNav.querySelectorAll('.showcase-indicator');
indicators.forEach((ind, index) => {
ind.classList.toggle('active', index === currentIndex);
});
}
// Shape → CSS class/clip-path mapping
const shapeStyles = {
'circle': { borderRadius: '50%', clipPath: '' },
'squircle': { borderRadius: '22%', clipPath: '' },
'roundrect': { borderRadius: '20%', clipPath: '' },
'hexagon': { borderRadius: '0', clipPath: 'polygon(50% 0%, 93.3% 25%, 93.3% 75%, 50% 100%, 6.7% 75%, 6.7% 25%)' },
'diamond': { borderRadius: '0', clipPath: 'polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)' },
'shield': { borderRadius: '0', clipPath: 'polygon(0% 0%, 100% 0%, 100% 75%, 50% 100%, 0% 75%)' },
};
// Corner positions → CSS
const posStyles = {
'top-left': { top: '-14px', left: '-14px', right: '', bottom: '' },
'top-right': { top: '-14px', right: '-14px', left: '', bottom: '' },
'bottom-left': { bottom: '-14px', left: '-14px', top: '', right: '' },
'bottom-right': { bottom: '-14px', right: '-14px', top: '', left: '' },
};
let isTransitioning = false;
function selectVariant(index, immediate = false) {
if (isTransitioning && !immediate) return;
currentIndex = index;
if (immediate) {
applyVariant(variants[index]);
showcaseCard.classList.remove('is-exiting', 'is-entering');
showcaseCard.classList.add('is-visible');
updateIndicators();
return;
}
isTransitioning = true;
// Phase 1: exit
showcaseBadge.style.opacity = '0';
showcaseBadge.style.transform = 'scale(0.6)';
showcaseCard.classList.remove('is-visible');
showcaseCard.classList.add('is-exiting');
// Phase 2: after exit, swap content + prepare enter
setTimeout(() => {
applyVariant(variants[index]);
updateIndicators();
// Set entering state (no transition)
showcaseCard.classList.remove('is-exiting');
showcaseCard.classList.add('is-entering');
// Phase 3: trigger reflow then animate to visible
requestAnimationFrame(() => {
requestAnimationFrame(() => {
showcaseCard.classList.remove('is-entering');
showcaseCard.classList.add('is-visible');
showcaseBadge.style.opacity = '1';
showcaseBadge.style.transform = 'scale(1)';
setTimeout(() => { isTransitioning = false; }, 600);
});
});
}, 300);
}
function applyVariant(v) {
showcaseVariantTitle.textContent = v.title;
showcaseBackdrop.style.background = v.gradient;
const baseShapeStyles = { squircle: '22%', roundrect: '12%', circle: '50%', square: '0' };
showcaseBackdrop.style.borderRadius = baseShapeStyles[v.baseShape] || '22%';
showcaseBackdrop.style.boxShadow = v.shadow;
showcaseGloss.style.opacity = v.gloss ? '1' : '0';
showcaseCenter.className = 'showcase-icon-center ' + v.centerStyle;
showcaseCenter.innerHTML = v.centerHTML || '';
if (showcaseFrameOverlay) {
showcaseFrameOverlay.className = 'showcase-icon-frame-overlay' + (v.frame ? ' ' + v.frame : '');
}
if (v.frame === 'glass') {
showcaseBackdrop.style.backdropFilter = 'blur(12px) brightness(1.5)';
showcaseBackdrop.style.webkitBackdropFilter = 'blur(12px) brightness(1.5)';
} else {
showcaseBackdrop.style.backdropFilter = '';
showcaseBackdrop.style.webkitBackdropFilter = '';
}
const ss = shapeStyles[v.badgeShape] || shapeStyles['circle'];
showcaseBadgeShape.style.background = v.badgeColor;
showcaseBadgeShape.style.borderRadius = ss.borderRadius;
showcaseBadgeShape.style.clipPath = ss.clipPath;
showcaseBadgeShape.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${v.badgeIcon}</svg>`;
const ps = posStyles[v.badgePos] || posStyles['bottom-right'];
Object.assign(showcaseBadge.style, { top: ps.top || '', right: ps.right || '', bottom: ps.bottom || '', left: ps.left || '' });
}
function startInterval() {
intervalId = setInterval(() => {
selectVariant((currentIndex + 1) % variants.length);
}, 3500);
}
function resetInterval() {
if (intervalId) clearInterval(intervalId);
startInterval();
}
selectVariant(0, true);
startInterval();
// self-playing feature micro-animations:
// 1. Customize Layout Animation Loop
const customizeWidget = document.getElementById('widgetCustomize');
const customizeCursor = document.getElementById('customizeCursor');
const customizeIcon = document.getElementById('customizePreviewIcon');
const shapeBtns = {
squircle: document.getElementById('btn-shape-squircle'),
circle: document.getElementById('btn-shape-circle'),
hexagon: document.getElementById('btn-shape-hexagon')
};
function animateCustomize() {
if (!customizeWidget || !customizeCursor) return;
const parentRect = customizeWidget.getBoundingClientRect();
if (parentRect.width === 0) {
// Not visible, try again later
setTimeout(animateCustomize, 1000);
return;
}
const moveAndClick = (targetKey, nextKey, delay) => {
setTimeout(() => {
const targetBtn = shapeBtns[targetKey];
if (!targetBtn) return;
const rect = targetBtn.getBoundingClientRect();
const x = rect.left - parentRect.left + rect.width / 2;
const y = rect.top - parentRect.top + rect.height / 2;
customizeCursor.style.opacity = '1';
customizeCursor.style.transform = `translate(${x}px, ${y}px)`;
// Simulate click after move completes
setTimeout(() => {
targetBtn.style.transform = 'scale(0.9)';
setTimeout(() => { targetBtn.style.transform = ''; }, 100);
// Toggle active class
Object.keys(shapeBtns).forEach(k => {
shapeBtns[k].classList.toggle('active', k === targetKey);
});
// Morph shape
customizeIcon.className = `widget-preview-icon ${targetKey}`;
}, 500);
}, delay);
};
// Sequence: squircle -> circle -> hexagon -> squircle
moveAndClick('circle', 'hexagon', 1000);
moveAndClick('hexagon', 'squircle', 3500);
moveAndClick('squircle', 'circle', 6000);
setTimeout(animateCustomize, 8500);
}
animateCustomize();
// 2. Add Badges Animation Loop
const badgeEl = document.getElementById('widgetBadgeEl');
const badgeCorners = ['top-right', 'bottom-right', 'bottom-left', 'top-left'];
let badgeCornerIndex = 0;
function animateBadges() {
if (!badgeEl) return;
badgeCornerIndex = (badgeCornerIndex + 1) % badgeCorners.length;
const nextCorner = badgeCorners[badgeCornerIndex];
// Remove current corner positions
badgeEl.className = `widget-badge pos-${nextCorner}`;
// Pop animation effect
badgeEl.style.transform = 'scale(0.5)';
setTimeout(() => {
badgeEl.style.transform = 'scale(1.2)';
setTimeout(() => {
badgeEl.style.transform = 'scale(1)';
}, 150);
}, 150);
// Update corner indicators active class
badgeCorners.forEach(c => {
const ind = document.getElementById(`ind-${c}`);
if (ind) ind.classList.toggle('active', c === nextCorner);
});
setTimeout(animateBadges, 2200);
}
// Start badge loop
setTimeout(animateBadges, 2200);
// 3. Export & Share Animation Loop
const exportWidget = document.getElementById('widgetExport');
const exportCursor = document.getElementById('exportCursor');
const exportBtn = document.getElementById('widgetExportBtn');
const exportGrid = document.getElementById('widgetExportGrid');
function animateExport() {
if (!exportWidget || !exportCursor || !exportBtn || !exportGrid) return;
const parentRect = exportWidget.getBoundingClientRect();
if (parentRect.width === 0) {
setTimeout(animateExport, 1000);
return;
}
// Reset state
exportBtn.className = 'widget-download-btn';
exportGrid.classList.remove('visible');
exportCursor.style.opacity = '0';
exportCursor.style.transform = `translate(${parentRect.width / 2}px, ${parentRect.height - 20}px)`;
// 1. Show cursor and move to button
setTimeout(() => {
const rect = exportBtn.getBoundingClientRect();
const x = rect.left - parentRect.left + rect.width / 2;
const y = rect.top - parentRect.top + rect.height / 2;
exportCursor.style.opacity = '1';
exportCursor.style.transform = `translate(${x}px, ${y}px)`;
}, 500);
// 2. Click button -> loading state
setTimeout(() => {
exportBtn.classList.add('loading');
exportCursor.style.opacity = '0';
}, 1300);
// 3. Complete loading -> success state + reveal previews
setTimeout(() => {
exportBtn.classList.remove('loading');
exportBtn.classList.add('success');
exportGrid.classList.add('visible');
}, 2800);
// 4. Repeat loop
setTimeout(animateExport, 6500);
}
animateExport();
// FAQ Accordion Logic
document.querySelectorAll('.faq-trigger').forEach(trigger => {
trigger.addEventListener('click', () => {
const item = trigger.closest('.faq-item');
const isExpanded = trigger.getAttribute('aria-expanded') === 'true';
// Close other items
document.querySelectorAll('.faq-item').forEach(otherItem => {
if (otherItem !== item) {
otherItem.querySelector('.faq-trigger').setAttribute('aria-expanded', 'false');
otherItem.classList.remove('open');
}
});
// Toggle current
trigger.setAttribute('aria-expanded', !isExpanded);