aural-ui 3.0.7 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/aspect-ratio/AspectRatio.stories.tsx +290 -1199
- package/dist/components/avatar/Avatar.stories.tsx +235 -237
- package/dist/components/badge/Badge.stories.tsx +379 -116
- package/dist/components/banner/Banner.stories.tsx +445 -391
- package/dist/components/breadcrumb/Breadcrumb.stories.tsx +453 -199
- package/dist/components/button/Button.stories.tsx +585 -230
- package/dist/components/button/index.tsx +7 -7
- package/dist/components/card/Card.stories.tsx +619 -301
- package/dist/components/char-count/CharCount.stories.tsx +350 -248
- package/dist/components/checkbox/Checkbox.stories.tsx +309 -167
- package/dist/components/chip/Chip.stories.tsx +362 -168
- package/dist/components/circular-loader/CircularLoader.stories.tsx +221 -620
- package/dist/components/clamp-lines/ClampLines.stories.tsx +246 -117
- package/dist/components/collapsible/Collapsible.stories.tsx +391 -252
- package/dist/components/command/Command.stories.tsx +533 -856
- package/dist/components/dialog/Dialog.stories.tsx +505 -949
- package/dist/components/divider/Divider.stories.tsx +265 -502
- package/dist/components/dot-loader/DotLoader.stories.tsx +256 -257
- package/dist/components/drawer/Drawer.stories.tsx +659 -993
- package/dist/components/drawer/index.tsx +3 -3
- package/dist/components/dropdown/Dropdown.stories.tsx +643 -1018
- package/dist/components/form/Form.stories.tsx +560 -274
- package/dist/components/helper-text/HelperText.stories.tsx +199 -200
- package/dist/components/hover-card/HoverCard.stories.tsx +318 -1221
- package/dist/components/icon-button/IconButton.stories.tsx +837 -194
- package/dist/components/if-else/if-else.stories.tsx +370 -83
- package/dist/components/input/Input.stories.tsx +436 -368
- package/dist/components/label/Label.stories.tsx +156 -154
- package/dist/components/list/List.stories.tsx +485 -822
- package/dist/components/marquee/Marquee.stories.tsx +356 -694
- package/dist/components/otp-inputs/OtpInputs.stories.tsx +352 -410
- package/dist/components/overlay/Overlay.stories.tsx +452 -818
- package/dist/components/overlay/index.tsx +4 -4
- package/dist/components/pagination/Pagination.stories.tsx +721 -210
- package/dist/components/popover/Popover.stories.tsx +484 -873
- package/dist/components/radio/Radio.stories.tsx +432 -124
- package/dist/components/resizable/Resizable.stories.tsx +496 -752
- package/dist/components/scroll-area/ScrollArea.stories.tsx +384 -1006
- package/dist/components/search/Search.stories.tsx +314 -575
- package/dist/components/select/Select.stories.tsx +684 -787
- package/dist/components/sheet/Sheet.stories.tsx +671 -936
- package/dist/components/skelton/Skelton.stories.tsx +230 -764
- package/dist/components/slider/Slider.stories.tsx +384 -737
- package/dist/components/stepper/Stepper.stories.tsx +371 -514
- package/dist/components/switch/Switch.stories.tsx +461 -208
- package/dist/components/switch-case/SwitchCase.stories.tsx +367 -188
- package/dist/components/table/Table.stories.tsx +770 -914
- package/dist/components/tabs/Tabs.stories.tsx +459 -1400
- package/dist/components/tag/Tag.stories.tsx +714 -542
- package/dist/components/textarea/TextArea.stories.tsx +621 -562
- package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +228 -148
- package/dist/components/toast/Toast.stories.tsx +452 -1333
- package/dist/components/toggle/Toggle.stories.tsx +488 -909
- package/dist/components/tooltip/Tooltip.stories.tsx +344 -1372
- package/dist/components/typography/Typography.stories.tsx +406 -89
- package/dist/hooks/use-change-state/UseChangeState.stories.tsx +309 -606
- package/dist/hooks/use-previous/UsePrevious.stories.tsx +367 -917
- package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +639 -867
- package/dist/icons/Icons.stories.tsx +0 -12
- package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +226 -1013
- package/dist/icons/alert-icon/AlertIcon.stories.tsx +109 -929
- package/dist/icons/all-icons.tsx +124 -87
- package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +140 -971
- package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +148 -888
- package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +135 -1019
- package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +137 -953
- package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +138 -997
- package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +136 -942
- package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +148 -1092
- package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +146 -1211
- package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +126 -615
- package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +144 -1164
- package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +167 -985
- package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +122 -1179
- package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +124 -1168
- package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +119 -850
- package/dist/icons/camera-icon/CameraIcon.stories.tsx +112 -1213
- package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +117 -934
- package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +160 -961
- package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +163 -961
- package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +144 -942
- package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +129 -966
- package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +147 -964
- package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +145 -975
- package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +150 -1142
- package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +114 -461
- package/dist/icons/coin-icon/CoinIcon.stories.tsx +124 -1322
- package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +117 -1318
- package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +114 -903
- package/dist/icons/command-icon/CommandIcon.stories.tsx +127 -1042
- package/dist/icons/copy-icon/CopyIcon.stories.tsx +123 -962
- package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +147 -999
- package/dist/icons/cross-icon/CrossIcon.stories.tsx +139 -960
- package/dist/icons/download-icon/DownloadIcon.stories.tsx +126 -820
- package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +124 -1031
- package/dist/icons/email-icon/EmailIcon.stories.tsx +115 -936
- package/dist/icons/expand-icon/ExpandIcon.stories.tsx +112 -1111
- package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +144 -1025
- package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +143 -1036
- package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +127 -1011
- package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +126 -1056
- package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +125 -614
- package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +119 -1050
- package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +169 -989
- package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +115 -1145
- package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +115 -1122
- package/dist/icons/globe-icon/GlobeIcon.stories.tsx +130 -313
- package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +145 -940
- package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +119 -1174
- package/dist/icons/head-icon/HeadIcon.stories.tsx +111 -916
- package/dist/icons/heart-icon/HeartIcon.stories.tsx +120 -1019
- package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +119 -683
- package/dist/icons/image-icon/ImageIcon.stories.tsx +105 -1121
- package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +111 -1192
- package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +136 -1256
- package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +159 -962
- package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +161 -1385
- package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +124 -972
- package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +119 -948
- package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +119 -942
- package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +108 -1215
- package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +154 -1517
- package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +110 -1188
- package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +119 -678
- package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +123 -1184
- package/dist/icons/message-icon/MessageIcon.stories.tsx +114 -538
- package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +116 -1158
- package/dist/icons/moon-icon/MoonIcon.stories.tsx +120 -536
- package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +109 -1184
- package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +115 -1134
- package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +119 -971
- package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +111 -1100
- package/dist/icons/notes-icon/NotesIcon.stories.tsx +119 -1101
- package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +109 -1111
- package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +122 -684
- package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +113 -954
- package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +112 -877
- package/dist/icons/pause-icon/PauseIcon.stories.tsx +113 -1000
- package/dist/icons/pencil-icon/PencilIcon.stories.tsx +115 -1070
- package/dist/icons/phone-icon/PhoneIcon.stories.tsx +115 -978
- package/dist/icons/plus-icon/PlusIcon.stories.tsx +106 -1093
- package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +107 -829
- package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +102 -469
- package/dist/icons/search-icon/SearchIcon.stories.tsx +111 -1124
- package/dist/icons/setting-icon/SettingIcon.stories.tsx +107 -970
- package/dist/icons/share-icon/ShareIcon.stories.tsx +120 -1025
- package/dist/icons/shield-icon/ShieldIcon.stories.tsx +117 -931
- package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +137 -1104
- package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +172 -982
- package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +164 -983
- package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +105 -958
- package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +158 -580
- package/dist/icons/spinner-gradient-icon/index.tsx +6 -1
- package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +158 -587
- package/dist/icons/spinner-solid-icon/index.tsx +6 -1
- package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +146 -682
- package/dist/icons/spinner-solid-neutral-icon/index.tsx +1 -1
- package/dist/icons/star-icon/StarIcon.stories.tsx +124 -904
- package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +112 -964
- package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +116 -852
- package/dist/icons/sun-icon/SunIcon.stories.tsx +120 -831
- package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +116 -950
- package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +123 -980
- package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +156 -1427
- package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +146 -1142
- package/dist/icons/tick-icon/TickIcon.stories.tsx +145 -1276
- package/dist/icons/trash-icon/TrashIcon.stories.tsx +108 -933
- package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +157 -1402
- package/dist/icons/upload-icon/UploadIcon.stories.tsx +115 -889
- package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +118 -984
- package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +125 -1049
- package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +123 -1356
- package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +110 -1171
- package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +112 -1093
- package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +115 -1087
- package/dist/icons/warning-icon/WarningIcon.stories.tsx +122 -1046
- package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +161 -936
- package/dist/index.cjs +84 -84
- package/dist/index.js +84 -84
- package/dist/styles/aural-all-theme.css +1222 -0
- package/dist/styles/{aural-theme.css → aural-dark-theme.css} +15 -3
- package/dist/styles/aural-light-theme.css +1047 -0
- package/package.json +1 -1
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import React from "react"
|
|
2
2
|
import type { Meta, StoryObj } from "@storybook/react-vite"
|
|
3
3
|
|
|
4
|
+
import { LinkedInIcon } from "src/ui/icons/linked-in-icon"
|
|
5
|
+
import { ThreadsIcon } from "src/ui/icons/threads-icon"
|
|
6
|
+
import { TwitterXIcon } from "src/ui/icons/twitter-x-icon"
|
|
7
|
+
import { YoutubeIcon } from "src/ui/icons/youtube-icon"
|
|
8
|
+
import {
|
|
9
|
+
IconBrandColors,
|
|
10
|
+
IconDefaultCanvas,
|
|
11
|
+
IconPlaygroundCanvas,
|
|
12
|
+
IconSizeVariations,
|
|
13
|
+
IconUsageCanvas,
|
|
14
|
+
IconUsageSection,
|
|
15
|
+
} from "src/ui/story-spec/icons/icon-story-canvas"
|
|
16
|
+
import { AuralIconDocsPage } from "src/ui/story-spec/icons/icon-story-docs-page"
|
|
17
|
+
|
|
4
18
|
import { InstagramIcon } from "."
|
|
5
19
|
|
|
6
20
|
const meta: Meta<typeof InstagramIcon> = {
|
|
@@ -11,1206 +25,78 @@ const meta: Meta<typeof InstagramIcon> = {
|
|
|
11
25
|
backgrounds: {
|
|
12
26
|
default: "dark",
|
|
13
27
|
values: [
|
|
14
|
-
{ name: "dark", value: "
|
|
15
|
-
{ name: "darker", value: "
|
|
16
|
-
{ name: "light", value: "
|
|
28
|
+
{ name: "dark", value: "var(--color-fm-surface-primary)" },
|
|
29
|
+
{ name: "darker", value: "var(--color-fm-neutral-0)" },
|
|
30
|
+
{ name: "light", value: "var(--color-fm-neutral-1100)" },
|
|
17
31
|
],
|
|
18
32
|
},
|
|
19
33
|
docs: {
|
|
20
34
|
page: () => (
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
.docs-story {
|
|
37
|
-
background: transparent ;
|
|
38
|
-
}
|
|
39
|
-
.sbdocs {
|
|
40
|
-
background: transparent ;
|
|
41
|
-
}
|
|
42
|
-
body {
|
|
43
|
-
background: #0a0a0a ;
|
|
44
|
-
}
|
|
45
|
-
#storybook-docs {
|
|
46
|
-
background: #0a0a0a ;
|
|
47
|
-
}
|
|
48
|
-
.sbdocs-preview {
|
|
49
|
-
background: transparent ;
|
|
50
|
-
border: none ;
|
|
51
|
-
}
|
|
52
|
-
.sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
|
|
53
|
-
color: white ;
|
|
54
|
-
}
|
|
55
|
-
.sbdocs-p, .sbdocs-li {
|
|
56
|
-
color: rgba(255, 255, 255, 0.7) ;
|
|
57
|
-
}
|
|
58
|
-
.sbdocs-code {
|
|
59
|
-
background: rgba(255, 255, 255, 0.1) ;
|
|
60
|
-
color: rgba(168, 85, 247, 1) ;
|
|
61
|
-
border: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
62
|
-
}
|
|
63
|
-
.sbdocs-pre {
|
|
64
|
-
background: rgba(0, 0, 0, 0.4) ;
|
|
65
|
-
border: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
66
|
-
}
|
|
67
|
-
.sbdocs-table {
|
|
68
|
-
background: rgba(255, 255, 255, 0.05) ;
|
|
69
|
-
border: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
70
|
-
}
|
|
71
|
-
.sbdocs-table th {
|
|
72
|
-
background: rgba(255, 255, 255, 0.05) ;
|
|
73
|
-
color: white ;
|
|
74
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1) ;
|
|
75
|
-
}
|
|
76
|
-
.sbdocs-table td {
|
|
77
|
-
color: rgba(255, 255, 255, 0.7) ;
|
|
78
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.05) ;
|
|
79
|
-
}
|
|
80
|
-
`}
|
|
81
|
-
</style>
|
|
82
|
-
|
|
83
|
-
<div className="min-h-screen bg-gradient-to-br from-gray-900 via-pink-900/20 to-gray-900">
|
|
84
|
-
{/* Header */}
|
|
85
|
-
<div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
|
|
86
|
-
<div className="absolute inset-0 bg-gradient-to-r from-pink-500/10 via-purple-500/10 to-orange-500/10" />
|
|
87
|
-
<div className="relative !mx-auto max-w-7xl px-6 py-16">
|
|
88
|
-
<div className="!space-y-6 text-center">
|
|
89
|
-
<div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-pink-500/30 bg-gradient-to-br from-pink-500/20 via-purple-500/20 to-orange-500/20">
|
|
90
|
-
<InstagramIcon className="h-12 w-12 text-white" />
|
|
91
|
-
</div>
|
|
92
|
-
<h1 className="text-5xl font-bold !text-white">
|
|
93
|
-
InstagramIcon
|
|
94
|
-
</h1>
|
|
95
|
-
<p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
|
|
96
|
-
The official Instagram brand icon featuring the iconic
|
|
97
|
-
camera design. Essential for photo sharing integration,
|
|
98
|
-
social media buttons, profile links, visual content
|
|
99
|
-
promotion, and any interface where Instagram platform
|
|
100
|
-
connectivity and brand recognition is needed.
|
|
101
|
-
</p>
|
|
102
|
-
|
|
103
|
-
{/* Stats */}
|
|
104
|
-
<div className="flex items-center justify-center gap-8 pt-8">
|
|
105
|
-
<div className="text-center">
|
|
106
|
-
<div className="text-3xl font-bold text-pink-300">
|
|
107
|
-
Visual Content
|
|
108
|
-
</div>
|
|
109
|
-
<div className="text-sm text-white/60">
|
|
110
|
-
Photo & video sharing
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div className="h-8 w-px bg-white/20" />
|
|
114
|
-
<div className="text-center">
|
|
115
|
-
<div className="text-3xl font-bold text-purple-300">
|
|
116
|
-
Creative Platform
|
|
117
|
-
</div>
|
|
118
|
-
<div className="text-sm text-white/60">
|
|
119
|
-
Artistic expression
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
<div className="h-8 w-px bg-white/20" />
|
|
123
|
-
<div className="text-center">
|
|
124
|
-
<div className="text-3xl font-bold text-orange-300">
|
|
125
|
-
Brand Identity
|
|
126
|
-
</div>
|
|
127
|
-
<div className="text-sm text-white/60">
|
|
128
|
-
Visual storytelling
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
{/* Content */}
|
|
137
|
-
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
138
|
-
{/* Quick Usage */}
|
|
139
|
-
<div className="!space-y-8">
|
|
140
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
141
|
-
Quick Start
|
|
142
|
-
</h2>
|
|
143
|
-
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
144
|
-
<div className="!space-y-4">
|
|
145
|
-
<h3 className="text-xl font-semibold !text-pink-300">
|
|
146
|
-
Basic Usage
|
|
147
|
-
</h3>
|
|
148
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
149
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
150
|
-
{`import { InstagramIcon } from "@icons/instagram-icon"
|
|
151
|
-
|
|
152
|
-
function SocialLinks() {
|
|
35
|
+
<AuralIconDocsPage
|
|
36
|
+
accentToken="warning"
|
|
37
|
+
features={[
|
|
38
|
+
{ title: "Brand Mark", description: "Instagram identity icon" },
|
|
39
|
+
{
|
|
40
|
+
title: "Social Media",
|
|
41
|
+
description: "Share and connect links",
|
|
42
|
+
},
|
|
43
|
+
{ title: "Accessible", description: "ARIA-ready by default" },
|
|
44
|
+
]}
|
|
45
|
+
quickStart={{
|
|
46
|
+
codeExample: `import { InstagramIcon } from "src/ui/icons/instagram-icon"
|
|
47
|
+
|
|
48
|
+
function InstagramLink() {
|
|
153
49
|
return (
|
|
154
|
-
<a
|
|
155
|
-
|
|
156
|
-
className="p-3 rounded-lg bg-gradient-to-br
|
|
157
|
-
from-pink-500 via-purple-500 to-orange-500
|
|
158
|
-
hover:from-pink-600 hover:to-orange-600
|
|
159
|
-
transition-all duration-300"
|
|
160
|
-
aria-label="Follow us on Instagram"
|
|
161
|
-
>
|
|
162
|
-
<InstagramIcon className="h-5 w-5 text-white" />
|
|
50
|
+
<a href="https://instagram.com/creator" target="_blank">
|
|
51
|
+
<InstagramIcon className="h-5 w-5 text-fm-icon-active" />
|
|
163
52
|
</a>
|
|
164
53
|
)
|
|
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
|
-
<tr className="border-b border-white/10">
|
|
199
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
200
|
-
Prop
|
|
201
|
-
</th>
|
|
202
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
203
|
-
Type
|
|
204
|
-
</th>
|
|
205
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
206
|
-
Default
|
|
207
|
-
</th>
|
|
208
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
209
|
-
Description
|
|
210
|
-
</th>
|
|
211
|
-
</tr>
|
|
212
|
-
</thead>
|
|
213
|
-
<tbody>
|
|
214
|
-
{" "}
|
|
215
|
-
<tr className="!bg-black/10">
|
|
216
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
217
|
-
withAccessibility
|
|
218
|
-
</td>
|
|
219
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
220
|
-
boolean
|
|
221
|
-
</td>
|
|
222
|
-
<td className="px-6 py-4 text-sm !text-white/50">
|
|
223
|
-
true
|
|
224
|
-
</td>
|
|
225
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
226
|
-
Whether to wrap the icon with accessibility feature
|
|
227
|
-
</td>
|
|
228
|
-
</tr>
|
|
229
|
-
<tr className="border-b border-white/5 !bg-black/10">
|
|
230
|
-
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
231
|
-
height
|
|
232
|
-
</td>
|
|
233
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
234
|
-
number | string
|
|
235
|
-
</td>
|
|
236
|
-
<td className="px-6 py-4 text-sm !text-white/50">
|
|
237
|
-
auto
|
|
238
|
-
</td>
|
|
239
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
240
|
-
Height of the icon (maintains aspect ratio)
|
|
241
|
-
</td>
|
|
242
|
-
</tr>
|
|
243
|
-
<tr className="border-b border-white/5">
|
|
244
|
-
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
245
|
-
fill
|
|
246
|
-
</td>
|
|
247
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
248
|
-
string
|
|
249
|
-
</td>
|
|
250
|
-
<td className="px-6 py-4 text-sm !text-white/50">
|
|
251
|
-
currentColor
|
|
252
|
-
</td>
|
|
253
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
254
|
-
Fill color of the Instagram camera icon
|
|
255
|
-
</td>
|
|
256
|
-
</tr>
|
|
257
|
-
<tr className="border-b border-white/5 !bg-black/10">
|
|
258
|
-
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
259
|
-
className
|
|
260
|
-
</td>
|
|
261
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
262
|
-
string
|
|
263
|
-
</td>
|
|
264
|
-
<td className="px-6 py-4 text-sm !text-white/50">-</td>
|
|
265
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
266
|
-
CSS classes for styling and sizing
|
|
267
|
-
</td>
|
|
268
|
-
</tr>
|
|
269
|
-
<tr className="border-b border-white/5">
|
|
270
|
-
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
271
|
-
onClick
|
|
272
|
-
</td>
|
|
273
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
274
|
-
function
|
|
275
|
-
</td>
|
|
276
|
-
<td className="px-6 py-4 text-sm !text-white/50">-</td>
|
|
277
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
278
|
-
Click handler for social interactions
|
|
279
|
-
</td>
|
|
280
|
-
</tr>
|
|
281
|
-
<tr className="!bg-black/10">
|
|
282
|
-
<td className="px-6 py-4 font-mono text-sm !text-pink-300">
|
|
283
|
-
...svgProps
|
|
284
|
-
</td>
|
|
285
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
286
|
-
SVGProps
|
|
287
|
-
</td>
|
|
288
|
-
<td className="px-6 py-4 text-sm !text-white/50">-</td>
|
|
289
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
290
|
-
All standard SVG element props
|
|
291
|
-
</td>
|
|
292
|
-
</tr>
|
|
293
|
-
</tbody>
|
|
294
|
-
</table>
|
|
295
|
-
</div>
|
|
296
|
-
|
|
297
|
-
<div className="rounded-lg border border-pink-500/20 bg-pink-500/10 p-4">
|
|
298
|
-
<div className="flex items-center gap-2 text-sm text-pink-200">
|
|
299
|
-
<InstagramIcon className="h-4 w-4" />
|
|
300
|
-
<span>
|
|
301
|
-
<strong>Brand Guidelines:</strong> Use Instagram's
|
|
302
|
-
signature gradient colors (pink, purple, orange) for
|
|
303
|
-
optimal brand recognition and consistency.
|
|
304
|
-
</span>
|
|
305
|
-
</div>
|
|
306
|
-
</div>
|
|
307
|
-
</div>
|
|
308
|
-
|
|
309
|
-
{/* Size Variations */}
|
|
310
|
-
<div className="!space-y-8">
|
|
311
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
312
|
-
Size Variations
|
|
313
|
-
</h2>
|
|
314
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-8">
|
|
315
|
-
<div className="!space-y-6">
|
|
316
|
-
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
317
|
-
<div className="!space-y-4">
|
|
318
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
319
|
-
Standard Sizes
|
|
320
|
-
</h3>
|
|
321
|
-
<div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
|
|
322
|
-
<div className="text-center">
|
|
323
|
-
<InstagramIcon className="!mx-auto mb-2 h-3 w-3 text-pink-400" />
|
|
324
|
-
<span className="text-xs text-white/60">12px</span>
|
|
325
|
-
</div>
|
|
326
|
-
<div className="text-center">
|
|
327
|
-
<InstagramIcon className="!mx-auto mb-2 h-4 w-4 text-pink-400" />
|
|
328
|
-
<span className="text-xs text-white/60">16px</span>
|
|
329
|
-
</div>
|
|
330
|
-
<div className="text-center">
|
|
331
|
-
<InstagramIcon className="!mx-auto mb-2 h-5 w-5 text-pink-400" />
|
|
332
|
-
<span className="text-xs text-white/60">20px</span>
|
|
333
|
-
</div>
|
|
334
|
-
<div className="text-center">
|
|
335
|
-
<InstagramIcon className="!mx-auto mb-2 h-6 w-6 text-pink-400" />
|
|
336
|
-
<span className="text-xs text-white/60">24px</span>
|
|
337
|
-
</div>
|
|
338
|
-
<div className="text-center">
|
|
339
|
-
<InstagramIcon className="!mx-auto mb-2 h-8 w-8 text-pink-400" />
|
|
340
|
-
<span className="text-xs text-white/60">32px</span>
|
|
341
|
-
</div>
|
|
342
|
-
<div className="text-center">
|
|
343
|
-
<InstagramIcon className="!mx-auto mb-2 h-12 w-12 text-pink-400" />
|
|
344
|
-
<span className="text-xs text-white/60">48px</span>
|
|
345
|
-
</div>
|
|
346
|
-
</div>
|
|
347
|
-
</div>
|
|
348
|
-
|
|
349
|
-
<div className="!space-y-4">
|
|
350
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
351
|
-
Code Example
|
|
352
|
-
</h3>
|
|
353
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
354
|
-
<pre className="overflow-x-auto text-sm !text-cyan-300">
|
|
355
|
-
{`// Small (16px) - inline social links
|
|
356
|
-
<InstagramIcon className="h-4 w-4" />
|
|
357
|
-
|
|
358
|
-
// Medium (24px) - standard buttons
|
|
359
|
-
<InstagramIcon className="h-6 w-6" />
|
|
360
|
-
|
|
361
|
-
// Large (32px) - prominent displays
|
|
362
|
-
<InstagramIcon className="h-8 w-8" />
|
|
363
|
-
|
|
364
|
-
// Custom size with maintained aspect ratio
|
|
365
|
-
<InstagramIcon width={40} height={40} />`}
|
|
366
|
-
</pre>
|
|
367
|
-
</div>
|
|
368
|
-
</div>
|
|
369
|
-
</div>
|
|
370
|
-
</div>
|
|
371
|
-
</div>
|
|
372
|
-
</div>
|
|
373
|
-
|
|
374
|
-
{/* Color & Styling */}
|
|
375
|
-
<div className="!space-y-8">
|
|
376
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
377
|
-
Color & Styling
|
|
378
|
-
</h2>
|
|
379
|
-
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
380
|
-
<div className="!space-y-4">
|
|
381
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
382
|
-
Brand Colors & Gradients
|
|
383
|
-
</h3>
|
|
384
|
-
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
385
|
-
<div className="flex items-center gap-4">
|
|
386
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
387
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
388
|
-
</div>
|
|
389
|
-
<div>
|
|
390
|
-
<div className="text-sm font-medium text-white">
|
|
391
|
-
Official Gradient
|
|
392
|
-
</div>
|
|
393
|
-
<div className="text-xs text-white/60">
|
|
394
|
-
Pink to purple to orange
|
|
395
|
-
</div>
|
|
396
|
-
</div>
|
|
397
|
-
</div>
|
|
398
|
-
<div className="flex items-center gap-4">
|
|
399
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-pink-500">
|
|
400
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
401
|
-
</div>
|
|
402
|
-
<div>
|
|
403
|
-
<div className="text-sm font-medium text-white">
|
|
404
|
-
Pink Monochrome
|
|
405
|
-
</div>
|
|
406
|
-
<div className="text-xs text-white/60">
|
|
407
|
-
Single brand color
|
|
408
|
-
</div>
|
|
409
|
-
</div>
|
|
410
|
-
</div>
|
|
411
|
-
<div className="flex items-center gap-4">
|
|
412
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg border border-gray-300 bg-white">
|
|
413
|
-
<InstagramIcon className="h-6 w-6 text-black" />
|
|
414
|
-
</div>
|
|
415
|
-
<div>
|
|
416
|
-
<div className="text-sm font-medium text-white">
|
|
417
|
-
Monochrome Black
|
|
418
|
-
</div>
|
|
419
|
-
<div className="text-xs text-white/60">
|
|
420
|
-
Light backgrounds
|
|
421
|
-
</div>
|
|
422
|
-
</div>
|
|
423
|
-
</div>
|
|
424
|
-
<div className="flex items-center gap-4">
|
|
425
|
-
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-gray-800">
|
|
426
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
427
|
-
</div>
|
|
428
|
-
<div>
|
|
429
|
-
<div className="text-sm font-medium text-white">
|
|
430
|
-
Monochrome White
|
|
431
|
-
</div>
|
|
432
|
-
<div className="text-xs text-white/60">
|
|
433
|
-
Dark backgrounds
|
|
434
|
-
</div>
|
|
435
|
-
</div>
|
|
436
|
-
</div>
|
|
437
|
-
</div>
|
|
438
|
-
</div>
|
|
439
|
-
|
|
440
|
-
<div className="!space-y-4">
|
|
441
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
442
|
-
Gradient Examples
|
|
443
|
-
</h3>
|
|
444
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
445
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
446
|
-
{`// Official Instagram gradient background
|
|
447
|
-
<div className="bg-gradient-to-br from-pink-500
|
|
448
|
-
via-purple-500 to-orange-500 p-3 rounded-lg">
|
|
449
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
450
|
-
</div>
|
|
451
|
-
|
|
452
|
-
// Alternative gradient
|
|
453
|
-
<div className="bg-gradient-to-r from-pink-400
|
|
454
|
-
to-orange-400 p-3 rounded-lg">
|
|
455
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
456
|
-
</div>
|
|
457
|
-
|
|
458
|
-
// Monochrome with hover gradient
|
|
459
|
-
<div className="bg-gray-800 hover:bg-gradient-to-br
|
|
460
|
-
hover:from-pink-500 hover:to-orange-500
|
|
461
|
-
p-3 rounded-lg transition-all duration-300">
|
|
462
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
463
|
-
</div>
|
|
464
|
-
|
|
465
|
-
// Icon with gradient text color (using CSS)
|
|
466
|
-
<InstagramIcon
|
|
467
|
-
className="h-6 w-6 bg-gradient-to-r from-pink-500
|
|
468
|
-
to-orange-500 bg-clip-text text-transparent"
|
|
469
|
-
/>
|
|
470
|
-
|
|
471
|
-
// Inherit parent color
|
|
472
|
-
<InstagramIcon className="h-6 w-6" />`}
|
|
473
|
-
</pre>
|
|
474
|
-
</div>
|
|
475
|
-
</div>
|
|
476
|
-
</div>
|
|
477
|
-
</div>
|
|
478
|
-
|
|
479
|
-
{/* Usage Examples */}
|
|
480
|
-
<div className="!space-y-8">
|
|
481
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
482
|
-
Usage Examples
|
|
483
|
-
</h2>
|
|
484
|
-
|
|
485
|
-
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
486
|
-
{/* Social Media Cards */}
|
|
487
|
-
<div className="!space-y-4">
|
|
488
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
489
|
-
Social Media Cards
|
|
490
|
-
</h3>
|
|
491
|
-
<div className="!space-y-4">
|
|
492
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
493
|
-
<div className="space-y-4">
|
|
494
|
-
<h4 className="mb-4 text-sm font-medium text-white">
|
|
495
|
-
Follow us on social media
|
|
496
|
-
</h4>
|
|
497
|
-
<div className="grid grid-cols-2 gap-4">
|
|
498
|
-
<a href="#" className="group block">
|
|
499
|
-
<div className="rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-4 transition-transform group-hover:scale-105">
|
|
500
|
-
<div className="flex items-center gap-3">
|
|
501
|
-
<InstagramIcon className="h-6 w-6 flex-shrink-0 text-white" />
|
|
502
|
-
<div>
|
|
503
|
-
<div className="text-sm font-semibold text-white">
|
|
504
|
-
Instagram
|
|
505
|
-
</div>
|
|
506
|
-
<div className="text-xs text-white/80">
|
|
507
|
-
@ourcompany
|
|
508
|
-
</div>
|
|
509
|
-
</div>
|
|
510
|
-
</div>
|
|
511
|
-
<div className="mt-3 text-xs text-white/90">
|
|
512
|
-
Behind-the-scenes content and daily updates
|
|
513
|
-
</div>
|
|
514
|
-
<div className="mt-2 text-xs font-medium text-white">
|
|
515
|
-
15.2k followers
|
|
516
|
-
</div>
|
|
517
|
-
</div>
|
|
518
|
-
</a>
|
|
519
|
-
<a href="#" className="group block">
|
|
520
|
-
<div className="rounded-lg border border-gray-700 bg-black p-4 transition-all group-hover:border-gray-600 group-hover:bg-gray-900">
|
|
521
|
-
<div className="flex items-center gap-3">
|
|
522
|
-
<div className="flex h-6 w-6 items-center justify-center">
|
|
523
|
-
<span className="text-lg text-white">
|
|
524
|
-
𝕏
|
|
525
|
-
</span>
|
|
526
|
-
</div>
|
|
527
|
-
<div>
|
|
528
|
-
<div className="text-sm font-semibold text-white">
|
|
529
|
-
X (Twitter)
|
|
530
|
-
</div>
|
|
531
|
-
<div className="text-xs text-white/60">
|
|
532
|
-
@ourcompany
|
|
533
|
-
</div>
|
|
534
|
-
</div>
|
|
535
|
-
</div>
|
|
536
|
-
<div className="mt-3 text-xs text-white/70">
|
|
537
|
-
News, updates, and community discussions
|
|
538
|
-
</div>
|
|
539
|
-
<div className="mt-2 text-xs font-medium text-white">
|
|
540
|
-
8.7k followers
|
|
541
|
-
</div>
|
|
542
|
-
</div>
|
|
543
|
-
</a>
|
|
544
|
-
</div>
|
|
545
|
-
<div className="border-t border-white/10 pt-4">
|
|
546
|
-
<div className="flex items-center justify-center gap-4">
|
|
547
|
-
<a
|
|
548
|
-
href="#"
|
|
549
|
-
className="rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-3 transition-transform hover:scale-110"
|
|
550
|
-
>
|
|
551
|
-
<InstagramIcon className="h-5 w-5 text-white" />
|
|
552
|
-
</a>
|
|
553
|
-
<a
|
|
554
|
-
href="#"
|
|
555
|
-
className="rounded-lg border border-gray-700 bg-black p-3 transition-transform hover:scale-110"
|
|
556
|
-
>
|
|
557
|
-
<span className="text-lg text-white">𝕏</span>
|
|
558
|
-
</a>
|
|
559
|
-
<a
|
|
560
|
-
href="#"
|
|
561
|
-
className="rounded-lg bg-blue-600 p-3 transition-transform hover:scale-110"
|
|
562
|
-
>
|
|
563
|
-
<span className="text-lg text-white">📘</span>
|
|
564
|
-
</a>
|
|
565
|
-
<a
|
|
566
|
-
href="#"
|
|
567
|
-
className="rounded-lg bg-blue-500 p-3 transition-transform hover:scale-110"
|
|
568
|
-
>
|
|
569
|
-
<span className="text-lg text-white">💼</span>
|
|
570
|
-
</a>
|
|
571
|
-
</div>
|
|
572
|
-
</div>
|
|
573
|
-
</div>
|
|
574
|
-
</div>
|
|
575
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
576
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
577
|
-
{`// Social media cards component
|
|
578
|
-
<div className="social-media-cards">
|
|
579
|
-
<h4>Follow us on social media</h4>
|
|
580
|
-
<div className="cards-grid">
|
|
581
|
-
<a href={instagramUrl} className="instagram-card">
|
|
582
|
-
<div className="card-content gradient-bg">
|
|
583
|
-
<div className="card-header">
|
|
584
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
585
|
-
<div className="platform-info">
|
|
586
|
-
<div className="platform-name">Instagram</div>
|
|
587
|
-
<div className="platform-handle">@ourcompany</div>
|
|
588
|
-
</div>
|
|
589
|
-
</div>
|
|
590
|
-
<div className="card-description">
|
|
591
|
-
Behind-the-scenes content and daily updates
|
|
592
|
-
</div>
|
|
593
|
-
<div className="follower-count">15.2k followers</div>
|
|
594
|
-
</div>
|
|
595
|
-
</a>
|
|
596
|
-
<TwitterCard />
|
|
597
|
-
</div>
|
|
598
|
-
<SocialIconRow />
|
|
599
|
-
</div>`}
|
|
600
|
-
</pre>
|
|
601
|
-
</div>
|
|
602
|
-
</div>
|
|
603
|
-
</div>
|
|
604
|
-
|
|
605
|
-
{/* Photo Gallery Integration */}
|
|
606
|
-
<div className="!space-y-4">
|
|
607
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
608
|
-
Photo Gallery Integration
|
|
609
|
-
</h3>
|
|
610
|
-
<div className="!space-y-4">
|
|
611
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
612
|
-
<div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
|
|
613
|
-
<div className="border-b border-white/10 bg-white/5 p-4">
|
|
614
|
-
<div className="flex items-center justify-between">
|
|
615
|
-
<h4 className="text-lg font-semibold text-white">
|
|
616
|
-
Latest from Instagram
|
|
617
|
-
</h4>
|
|
618
|
-
<a
|
|
619
|
-
href="#"
|
|
620
|
-
className="flex items-center gap-2 rounded-full bg-gradient-to-r from-pink-500 to-orange-500 px-3 py-1 text-sm text-white transition-colors hover:from-pink-600 hover:to-orange-600"
|
|
621
|
-
>
|
|
622
|
-
<InstagramIcon className="h-4 w-4" />
|
|
623
|
-
<span>View All</span>
|
|
624
|
-
</a>
|
|
625
|
-
</div>
|
|
626
|
-
</div>
|
|
627
|
-
<div className="p-4">
|
|
628
|
-
<div className="grid grid-cols-3 gap-3">
|
|
629
|
-
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-blue-500/20 to-purple-500/20">
|
|
630
|
-
<span className="text-2xl">🌅</span>
|
|
631
|
-
</div>
|
|
632
|
-
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-green-500/20 to-teal-500/20">
|
|
633
|
-
<span className="text-2xl">🌿</span>
|
|
634
|
-
</div>
|
|
635
|
-
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-yellow-500/20 to-orange-500/20">
|
|
636
|
-
<span className="text-2xl">☕</span>
|
|
637
|
-
</div>
|
|
638
|
-
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-purple-500/20 to-pink-500/20">
|
|
639
|
-
<span className="text-2xl">🎨</span>
|
|
640
|
-
</div>
|
|
641
|
-
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-red-500/20 to-pink-500/20">
|
|
642
|
-
<span className="text-2xl">🌺</span>
|
|
643
|
-
</div>
|
|
644
|
-
<div className="flex aspect-square items-center justify-center rounded-lg bg-gradient-to-br from-indigo-500/20 to-blue-500/20">
|
|
645
|
-
<span className="text-2xl">🌊</span>
|
|
646
|
-
</div>
|
|
647
|
-
</div>
|
|
648
|
-
<div className="mt-4 text-center">
|
|
649
|
-
<a
|
|
650
|
-
href="#"
|
|
651
|
-
className="text-sm text-pink-400 transition-colors hover:text-pink-300"
|
|
652
|
-
>
|
|
653
|
-
@ourcompany • 245 posts
|
|
654
|
-
</a>
|
|
655
|
-
</div>
|
|
656
|
-
</div>
|
|
657
|
-
</div>
|
|
658
|
-
</div>
|
|
659
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
660
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
661
|
-
{`// Instagram gallery feed widget
|
|
662
|
-
<div className="instagram-gallery">
|
|
663
|
-
<div className="gallery-header">
|
|
664
|
-
<h3>Latest from Instagram</h3>
|
|
665
|
-
<a
|
|
666
|
-
href={instagramUrl}
|
|
667
|
-
className="view-all-btn"
|
|
668
|
-
>
|
|
669
|
-
<InstagramIcon className="h-4 w-4" />
|
|
670
|
-
<span>View All</span>
|
|
671
|
-
</a>
|
|
672
|
-
</div>
|
|
673
|
-
<div className="photo-grid">
|
|
674
|
-
{instagramPosts.map(post => (
|
|
675
|
-
<a
|
|
676
|
-
key={post.id}
|
|
677
|
-
href={post.permalink}
|
|
678
|
-
className="photo-item"
|
|
679
|
-
target="_blank"
|
|
680
|
-
rel="noopener noreferrer"
|
|
681
|
-
>
|
|
682
|
-
<img
|
|
683
|
-
src={post.media_url}
|
|
684
|
-
alt={post.caption}
|
|
685
|
-
className="photo-image"
|
|
54
|
+
}`,
|
|
55
|
+
livePreview: (
|
|
56
|
+
<a href="#" target="_blank" rel="noreferrer">
|
|
57
|
+
<InstagramIcon className="text-fm-icon-active h-6 w-6" />
|
|
58
|
+
</a>
|
|
59
|
+
),
|
|
60
|
+
}}
|
|
61
|
+
relatedIcons={[
|
|
62
|
+
{
|
|
63
|
+
name: "LinkedInIcon",
|
|
64
|
+
description: "LinkedIn brand mark",
|
|
65
|
+
icon: LinkedInIcon,
|
|
66
|
+
accentToken: "info",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "ThreadsIcon",
|
|
70
|
+
description: "Threads brand mark",
|
|
71
|
+
icon: ThreadsIcon,
|
|
72
|
+
accentToken: "positive",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
name: "TwitterXIcon",
|
|
76
|
+
description: "X (Twitter) brand mark",
|
|
77
|
+
icon: TwitterXIcon,
|
|
78
|
+
accentToken: "warning",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
name: "YoutubeIcon",
|
|
82
|
+
description: "YouTube brand mark",
|
|
83
|
+
icon: YoutubeIcon,
|
|
84
|
+
accentToken: "negative",
|
|
85
|
+
},
|
|
86
|
+
]}
|
|
686
87
|
/>
|
|
687
|
-
<div className="photo-overlay">
|
|
688
|
-
<InstagramIcon className="h-5 w-5 text-white" />
|
|
689
|
-
</div>
|
|
690
|
-
</a>
|
|
691
|
-
))}
|
|
692
|
-
</div>
|
|
693
|
-
<div className="gallery-footer">
|
|
694
|
-
<a href={instagramUrl}>@{instagramHandle} • {postCount} posts</a>
|
|
695
|
-
</div>
|
|
696
|
-
</div>`}
|
|
697
|
-
</pre>
|
|
698
|
-
</div>
|
|
699
|
-
</div>
|
|
700
|
-
</div>
|
|
701
|
-
|
|
702
|
-
{/* Profile Bio Section */}
|
|
703
|
-
<div className="!space-y-4">
|
|
704
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
705
|
-
Creator Profile Bio
|
|
706
|
-
</h3>
|
|
707
|
-
<div className="!space-y-4">
|
|
708
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
709
|
-
<div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
|
|
710
|
-
<div className="relative h-32 bg-gradient-to-r from-pink-500/20 via-purple-500/20 to-orange-500/20">
|
|
711
|
-
<div className="absolute -bottom-8 left-6">
|
|
712
|
-
<div className="flex h-16 w-16 items-center justify-center rounded-full border-4 border-black/50 bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
713
|
-
<span className="text-2xl">📸</span>
|
|
714
|
-
</div>
|
|
715
|
-
</div>
|
|
716
|
-
</div>
|
|
717
|
-
<div className="p-6 pt-12">
|
|
718
|
-
<div className="flex items-start justify-between">
|
|
719
|
-
<div>
|
|
720
|
-
<h4 className="text-lg font-semibold text-white">
|
|
721
|
-
Alex Thompson
|
|
722
|
-
</h4>
|
|
723
|
-
<p className="text-sm text-white/60">
|
|
724
|
-
@alexcreates
|
|
725
|
-
</p>
|
|
726
|
-
<p className="mt-2 max-w-sm text-sm text-white/70">
|
|
727
|
-
Visual storyteller & photographer capturing
|
|
728
|
-
life's beautiful moments 📷✨
|
|
729
|
-
</p>
|
|
730
|
-
</div>
|
|
731
|
-
<button className="rounded-lg bg-gradient-to-r from-pink-500 to-orange-500 px-4 py-2 font-medium text-white transition-colors hover:from-pink-600 hover:to-orange-600">
|
|
732
|
-
Follow
|
|
733
|
-
</button>
|
|
734
|
-
</div>
|
|
735
|
-
<div className="mt-4 flex items-center gap-6">
|
|
736
|
-
<div className="text-sm">
|
|
737
|
-
<span className="font-medium text-white">
|
|
738
|
-
1,847
|
|
739
|
-
</span>
|
|
740
|
-
<span className="ml-1 text-white/60">
|
|
741
|
-
Posts
|
|
742
|
-
</span>
|
|
743
|
-
</div>
|
|
744
|
-
<div className="text-sm">
|
|
745
|
-
<span className="font-medium text-white">
|
|
746
|
-
52.1k
|
|
747
|
-
</span>
|
|
748
|
-
<span className="ml-1 text-white/60">
|
|
749
|
-
Followers
|
|
750
|
-
</span>
|
|
751
|
-
</div>
|
|
752
|
-
<div className="text-sm">
|
|
753
|
-
<span className="font-medium text-white">
|
|
754
|
-
943
|
|
755
|
-
</span>
|
|
756
|
-
<span className="ml-1 text-white/60">
|
|
757
|
-
Following
|
|
758
|
-
</span>
|
|
759
|
-
</div>
|
|
760
|
-
</div>
|
|
761
|
-
<div className="mt-4 flex items-center gap-4 border-t border-white/10 pt-4">
|
|
762
|
-
<span className="text-sm text-white/60">
|
|
763
|
-
Connect:
|
|
764
|
-
</span>
|
|
765
|
-
<div className="flex gap-2">
|
|
766
|
-
<a
|
|
767
|
-
href="#"
|
|
768
|
-
className="rounded bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-2 transition-transform hover:scale-110"
|
|
769
|
-
aria-label="Follow on Instagram"
|
|
770
|
-
>
|
|
771
|
-
<InstagramIcon className="h-4 w-4 text-white" />
|
|
772
|
-
</a>
|
|
773
|
-
<a
|
|
774
|
-
href="#"
|
|
775
|
-
className="rounded bg-red-600 p-2 transition-colors hover:bg-red-700"
|
|
776
|
-
aria-label="Subscribe on YouTube"
|
|
777
|
-
>
|
|
778
|
-
<span className="text-sm text-white">📺</span>
|
|
779
|
-
</a>
|
|
780
|
-
<a
|
|
781
|
-
href="#"
|
|
782
|
-
className="rounded bg-pink-500 p-2 transition-colors hover:bg-pink-600"
|
|
783
|
-
aria-label="View TikTok"
|
|
784
|
-
>
|
|
785
|
-
<span className="text-sm text-white">🎵</span>
|
|
786
|
-
</a>
|
|
787
|
-
<a
|
|
788
|
-
href="#"
|
|
789
|
-
className="rounded bg-gray-600 p-2 transition-colors hover:bg-gray-700"
|
|
790
|
-
aria-label="Portfolio Website"
|
|
791
|
-
>
|
|
792
|
-
<span className="text-sm text-white">🌐</span>
|
|
793
|
-
</a>
|
|
794
|
-
</div>
|
|
795
|
-
</div>
|
|
796
|
-
</div>
|
|
797
|
-
</div>
|
|
798
|
-
</div>
|
|
799
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
800
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
801
|
-
{`// Creator profile with Instagram prominence
|
|
802
|
-
<div className="creator-profile">
|
|
803
|
-
<div className="profile-header">
|
|
804
|
-
<CoverImage gradient="instagram" />
|
|
805
|
-
<ProfileAvatar gradient="instagram" />
|
|
806
|
-
</div>
|
|
807
|
-
<div className="profile-content">
|
|
808
|
-
<div className="profile-info">
|
|
809
|
-
<CreatorDetails creator={creator} />
|
|
810
|
-
<FollowButton creatorId={creator.id} />
|
|
811
|
-
</div>
|
|
812
|
-
<ProfileStats stats={creator.stats} />
|
|
813
|
-
<div className="social-links">
|
|
814
|
-
<span>Connect:</span>
|
|
815
|
-
<div className="link-group">
|
|
816
|
-
<a
|
|
817
|
-
href={creator.socialLinks.instagram}
|
|
818
|
-
className="social-link instagram-link gradient-bg"
|
|
819
|
-
aria-label="Follow on Instagram"
|
|
820
|
-
>
|
|
821
|
-
<InstagramIcon className="h-4 w-4 text-white" />
|
|
822
|
-
</a>
|
|
823
|
-
<YouTubeLink url={creator.socialLinks.youtube} />
|
|
824
|
-
<TikTokLink url={creator.socialLinks.tiktok} />
|
|
825
|
-
<WebsiteLink url={creator.website} />
|
|
826
|
-
</div>
|
|
827
|
-
</div>
|
|
828
|
-
</div>
|
|
829
|
-
</div>`}
|
|
830
|
-
</pre>
|
|
831
|
-
</div>
|
|
832
|
-
</div>
|
|
833
|
-
</div>
|
|
834
|
-
|
|
835
|
-
{/* Brand Showcase */}
|
|
836
|
-
<div className="!space-y-4">
|
|
837
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
838
|
-
Brand Visual Showcase
|
|
839
|
-
</h3>
|
|
840
|
-
<div className="!space-y-4">
|
|
841
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
842
|
-
<div className="overflow-hidden rounded-lg border border-white/20 bg-black/50">
|
|
843
|
-
<div className="p-6">
|
|
844
|
-
<div className="mb-6 text-center">
|
|
845
|
-
<h4 className="mb-2 text-xl font-semibold text-white">
|
|
846
|
-
Share Your Story
|
|
847
|
-
</h4>
|
|
848
|
-
<p className="text-sm text-white/70">
|
|
849
|
-
Show the world your brand's visual journey
|
|
850
|
-
</p>
|
|
851
|
-
</div>
|
|
852
|
-
<div className="mb-6 grid grid-cols-2 gap-4">
|
|
853
|
-
<div className="rounded-lg border border-pink-500/20 bg-gradient-to-br from-pink-500/10 to-orange-500/10 p-4">
|
|
854
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500">
|
|
855
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
856
|
-
</div>
|
|
857
|
-
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
858
|
-
Visual Content
|
|
859
|
-
</h5>
|
|
860
|
-
<p className="text-xs text-white/60">
|
|
861
|
-
Share photos, stories, and reels to showcase
|
|
862
|
-
your brand personality
|
|
863
|
-
</p>
|
|
864
|
-
</div>
|
|
865
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
866
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
|
|
867
|
-
<span className="text-xl">👥</span>
|
|
868
|
-
</div>
|
|
869
|
-
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
870
|
-
Community
|
|
871
|
-
</h5>
|
|
872
|
-
<p className="text-xs text-white/60">
|
|
873
|
-
Build meaningful connections with your
|
|
874
|
-
audience through visual storytelling
|
|
875
|
-
</p>
|
|
876
|
-
</div>
|
|
877
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
878
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
|
|
879
|
-
<span className="text-xl">📈</span>
|
|
880
|
-
</div>
|
|
881
|
-
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
882
|
-
Growth
|
|
883
|
-
</h5>
|
|
884
|
-
<p className="text-xs text-white/60">
|
|
885
|
-
Reach new audiences and grow your brand
|
|
886
|
-
presence organically
|
|
887
|
-
</p>
|
|
888
|
-
</div>
|
|
889
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
890
|
-
<div className="mb-3 flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
|
|
891
|
-
<span className="text-xl">✨</span>
|
|
892
|
-
</div>
|
|
893
|
-
<h5 className="mb-2 text-sm font-semibold text-white">
|
|
894
|
-
Inspiration
|
|
895
|
-
</h5>
|
|
896
|
-
<p className="text-xs text-white/60">
|
|
897
|
-
Inspire others with authentic content that
|
|
898
|
-
reflects your values
|
|
899
|
-
</p>
|
|
900
|
-
</div>
|
|
901
|
-
</div>
|
|
902
|
-
<div className="text-center">
|
|
903
|
-
<a
|
|
904
|
-
href="#"
|
|
905
|
-
className="inline-flex items-center gap-2 rounded-lg bg-gradient-to-r from-pink-500 via-purple-500 to-orange-500 px-6 py-3 font-medium text-white transition-colors hover:from-pink-600 hover:to-orange-600"
|
|
906
|
-
>
|
|
907
|
-
<InstagramIcon className="h-5 w-5" />
|
|
908
|
-
<span>Get Started on Instagram</span>
|
|
909
|
-
</a>
|
|
910
|
-
</div>
|
|
911
|
-
</div>
|
|
912
|
-
</div>
|
|
913
|
-
</div>
|
|
914
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
915
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
916
|
-
{`// Brand showcase with Instagram integration
|
|
917
|
-
<div className="brand-showcase">
|
|
918
|
-
<div className="showcase-header">
|
|
919
|
-
<h2>Share Your Story</h2>
|
|
920
|
-
<p>Show the world your brand's visual journey</p>
|
|
921
|
-
</div>
|
|
922
|
-
<div className="feature-grid">
|
|
923
|
-
<div className="feature-card instagram-feature">
|
|
924
|
-
<div className="feature-icon gradient-bg">
|
|
925
|
-
<InstagramIcon className="h-6 w-6 text-white" />
|
|
926
|
-
</div>
|
|
927
|
-
<h3>Visual Content</h3>
|
|
928
|
-
<p>Share photos, stories, and reels to showcase your brand personality</p>
|
|
929
|
-
</div>
|
|
930
|
-
<CommunityFeature />
|
|
931
|
-
<GrowthFeature />
|
|
932
|
-
<InspirationFeature />
|
|
933
|
-
</div>
|
|
934
|
-
<div className="cta-section">
|
|
935
|
-
<a
|
|
936
|
-
href={instagramSignUpUrl}
|
|
937
|
-
className="cta-button gradient-bg"
|
|
938
|
-
>
|
|
939
|
-
<InstagramIcon className="h-5 w-5" />
|
|
940
|
-
<span>Get Started on Instagram</span>
|
|
941
|
-
</a>
|
|
942
|
-
</div>
|
|
943
|
-
</div>`}
|
|
944
|
-
</pre>
|
|
945
|
-
</div>
|
|
946
|
-
</div>
|
|
947
|
-
</div>
|
|
948
|
-
</div>
|
|
949
|
-
</div>
|
|
950
|
-
|
|
951
|
-
{/* Accessibility */}
|
|
952
|
-
<div className="!space-y-8">
|
|
953
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
954
|
-
Accessibility Features
|
|
955
|
-
</h2>
|
|
956
|
-
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
957
|
-
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
958
|
-
<h3 className="text-lg font-semibold !text-green-300">
|
|
959
|
-
✅ Built-in Features
|
|
960
|
-
</h3>
|
|
961
|
-
<ul className="!space-y-2 text-sm !text-white/70">
|
|
962
|
-
<li className="!text-white/70">
|
|
963
|
-
Uses Radix UI AccessibleIcon wrapper
|
|
964
|
-
</li>
|
|
965
|
-
<li className="!text-white/70">
|
|
966
|
-
Provides screen reader label "Instagram icon"
|
|
967
|
-
</li>
|
|
968
|
-
<li className="!text-white/70">
|
|
969
|
-
Supports keyboard navigation when interactive
|
|
970
|
-
</li>
|
|
971
|
-
<li className="!text-white/70">
|
|
972
|
-
High contrast design for visibility
|
|
973
|
-
</li>
|
|
974
|
-
<li className="!text-white/70">
|
|
975
|
-
Maintains aspect ratio across all sizes
|
|
976
|
-
</li>
|
|
977
|
-
</ul>
|
|
978
|
-
</div>
|
|
979
|
-
|
|
980
|
-
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
981
|
-
<h3 className="text-lg font-semibold !text-pink-300">
|
|
982
|
-
💡 Best Practices
|
|
983
|
-
</h3>
|
|
984
|
-
<ul className="!space-y-2 text-sm text-white/70">
|
|
985
|
-
<li className="!text-white/70">
|
|
986
|
-
Always provide descriptive aria-labels for Instagram
|
|
987
|
-
actions
|
|
988
|
-
</li>
|
|
989
|
-
<li className="!text-white/70">
|
|
990
|
-
Use Instagram's official gradient colors for brand
|
|
991
|
-
consistency
|
|
992
|
-
</li>
|
|
993
|
-
<li className="!text-white/70">
|
|
994
|
-
Ensure sufficient contrast with gradient backgrounds
|
|
995
|
-
</li>
|
|
996
|
-
<li className="!text-white/70">
|
|
997
|
-
Include external link indicators for Instagram URLs
|
|
998
|
-
</li>
|
|
999
|
-
<li className="!text-white/70">
|
|
1000
|
-
Consider visual content accessibility in related
|
|
1001
|
-
features
|
|
1002
|
-
</li>
|
|
1003
|
-
</ul>
|
|
1004
|
-
</div>
|
|
1005
|
-
</div>
|
|
1006
|
-
|
|
1007
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
1008
|
-
<h3 className="mb-4 text-lg font-semibold !text-blue-300">
|
|
1009
|
-
Proper ARIA Implementation
|
|
1010
|
-
</h3>
|
|
1011
|
-
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
1012
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
1013
|
-
<pre className="overflow-x-auto text-sm !text-cyan-300">
|
|
1014
|
-
{`// Instagram profile link
|
|
1015
|
-
<a
|
|
1016
|
-
href="https://instagram.com/username"
|
|
1017
|
-
className="instagram-link"
|
|
1018
|
-
aria-label="Follow @username on Instagram"
|
|
1019
|
-
target="_blank"
|
|
1020
|
-
rel="noopener noreferrer"
|
|
1021
|
-
>
|
|
1022
|
-
<InstagramIcon className="h-5 w-5 text-white" />
|
|
1023
|
-
</a>
|
|
1024
|
-
|
|
1025
|
-
// Photo gallery with Instagram integration
|
|
1026
|
-
<div className="instagram-gallery">
|
|
1027
|
-
<h2 id="gallery-title">Latest from Instagram</h2>
|
|
1028
|
-
<div
|
|
1029
|
-
className="photo-grid"
|
|
1030
|
-
role="grid"
|
|
1031
|
-
aria-labelledby="gallery-title"
|
|
1032
|
-
>
|
|
1033
|
-
{photos.map(photo => (
|
|
1034
|
-
<a
|
|
1035
|
-
key={photo.id}
|
|
1036
|
-
href={photo.permalink}
|
|
1037
|
-
role="gridcell"
|
|
1038
|
-
aria-label={photo.alt_text || photo.caption}
|
|
1039
|
-
target="_blank"
|
|
1040
|
-
rel="noopener noreferrer"
|
|
1041
|
-
>
|
|
1042
|
-
<img src={photo.thumbnail} alt={photo.alt_text} />
|
|
1043
|
-
<InstagramIcon className="overlay-icon" aria-hidden="true" />
|
|
1044
|
-
</a>
|
|
1045
|
-
))}
|
|
1046
|
-
</div>
|
|
1047
|
-
</div>
|
|
1048
|
-
|
|
1049
|
-
// Social media card
|
|
1050
|
-
<div className="social-card instagram-card">
|
|
1051
|
-
<a
|
|
1052
|
-
href={instagramUrl}
|
|
1053
|
-
aria-describedby="instagram-desc"
|
|
1054
|
-
>
|
|
1055
|
-
<InstagramIcon className="h-6 w-6" />
|
|
1056
|
-
<div className="platform-info">
|
|
1057
|
-
<div className="platform-name">Instagram</div>
|
|
1058
|
-
<div className="platform-handle">@company</div>
|
|
1059
|
-
</div>
|
|
1060
|
-
</a>
|
|
1061
|
-
<div id="instagram-desc" className="sr-only">
|
|
1062
|
-
Follow our Instagram for behind-the-scenes content and daily updates
|
|
1063
|
-
</div>
|
|
1064
|
-
</div>
|
|
1065
|
-
|
|
1066
|
-
// Share to Instagram button
|
|
1067
|
-
<button
|
|
1068
|
-
onClick={shareToInstagram}
|
|
1069
|
-
className="share-btn"
|
|
1070
|
-
aria-label="Share this content to Instagram Stories"
|
|
1071
|
-
>
|
|
1072
|
-
<InstagramIcon className="h-4 w-4" />
|
|
1073
|
-
<span>Share to Stories</span>
|
|
1074
|
-
</button>
|
|
1075
|
-
|
|
1076
|
-
// Creator profile with Instagram prominence
|
|
1077
|
-
<div className="creator-profile">
|
|
1078
|
-
<div className="profile-header">
|
|
1079
|
-
<h1>{creator.name}</h1>
|
|
1080
|
-
<div className="creator-social">
|
|
1081
|
-
<a
|
|
1082
|
-
href={creator.instagram}
|
|
1083
|
-
className="primary-social-link"
|
|
1084
|
-
aria-label={"Follow " + creator.name + " on Instagram"}
|
|
1085
|
-
>
|
|
1086
|
-
<InstagramIcon className="h-5 w-5" />
|
|
1087
|
-
<span className="sr-only">Primary social platform</span>
|
|
1088
|
-
</a>
|
|
1089
|
-
</div>
|
|
1090
|
-
</div>
|
|
1091
|
-
</div>`}
|
|
1092
|
-
</pre>
|
|
1093
|
-
</div>
|
|
1094
|
-
<div className="!space-y-4">
|
|
1095
|
-
<p className="text-sm !text-white/70">
|
|
1096
|
-
When using InstagramIcon for visual content integration,
|
|
1097
|
-
always provide proper alt text for images and clear
|
|
1098
|
-
context about visual content accessibility for users
|
|
1099
|
-
with visual impairments.
|
|
1100
|
-
</p>
|
|
1101
|
-
<div className="rounded-lg border border-pink-500/20 bg-pink-500/10 p-4">
|
|
1102
|
-
<div className="flex items-center gap-2 text-sm text-pink-200">
|
|
1103
|
-
<InstagramIcon className="h-4 w-4" />
|
|
1104
|
-
<span>
|
|
1105
|
-
Consider image descriptions and alt text when
|
|
1106
|
-
integrating Instagram content
|
|
1107
|
-
</span>
|
|
1108
|
-
</div>
|
|
1109
|
-
</div>
|
|
1110
|
-
</div>
|
|
1111
|
-
</div>
|
|
1112
|
-
</div>
|
|
1113
|
-
</div>
|
|
1114
|
-
|
|
1115
|
-
{/* Related Icons */}
|
|
1116
|
-
<div className="!space-y-8">
|
|
1117
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
1118
|
-
Related Icons
|
|
1119
|
-
</h2>
|
|
1120
|
-
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
|
|
1121
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1122
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
|
|
1123
|
-
<span className="!text-2xl !text-white">📘</span>
|
|
1124
|
-
</div>
|
|
1125
|
-
<div>
|
|
1126
|
-
<div className="font-medium text-white">FacebookIcon</div>
|
|
1127
|
-
<div className="text-xs text-white/60">
|
|
1128
|
-
Social platform
|
|
1129
|
-
</div>
|
|
1130
|
-
</div>
|
|
1131
|
-
</div>
|
|
1132
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1133
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-black">
|
|
1134
|
-
<span className="!text-2xl !text-white">𝕏</span>
|
|
1135
|
-
</div>
|
|
1136
|
-
<div>
|
|
1137
|
-
<div className="font-medium text-white">TwitterXIcon</div>
|
|
1138
|
-
<div className="text-xs text-white/60">
|
|
1139
|
-
Social network
|
|
1140
|
-
</div>
|
|
1141
|
-
</div>
|
|
1142
|
-
</div>
|
|
1143
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1144
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-red-500/20">
|
|
1145
|
-
<span className="!text-2xl !text-white">📺</span>
|
|
1146
|
-
</div>
|
|
1147
|
-
<div>
|
|
1148
|
-
<div className="font-medium text-white">YouTubeIcon</div>
|
|
1149
|
-
<div className="text-xs text-white/60">
|
|
1150
|
-
Video platform
|
|
1151
|
-
</div>
|
|
1152
|
-
</div>
|
|
1153
|
-
</div>
|
|
1154
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
1155
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
|
|
1156
|
-
<span className="!text-2xl !text-white">🎵</span>
|
|
1157
|
-
</div>
|
|
1158
|
-
<div>
|
|
1159
|
-
<div className="font-medium text-white">TikTokIcon</div>
|
|
1160
|
-
<div className="text-xs text-white/60">Short video</div>
|
|
1161
|
-
</div>
|
|
1162
|
-
</div>
|
|
1163
|
-
</div>
|
|
1164
|
-
</div>
|
|
1165
|
-
</div>
|
|
1166
|
-
|
|
1167
|
-
{/* Footer */}
|
|
1168
|
-
<div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
|
|
1169
|
-
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
1170
|
-
<div className="!space-y-4 text-center">
|
|
1171
|
-
<p className="!text-white/60">
|
|
1172
|
-
InstagramIcon is part of the Aural UI icon library, built
|
|
1173
|
-
with accessibility and visual content integration best
|
|
1174
|
-
practices in mind.
|
|
1175
|
-
</p>
|
|
1176
|
-
<p className="text-sm !text-white/40">
|
|
1177
|
-
All icons use Radix UI's AccessibleIcon for screen reader
|
|
1178
|
-
compatibility and follow WCAG guidelines for social media
|
|
1179
|
-
recognition and visual content accessibility.
|
|
1180
|
-
</p>
|
|
1181
|
-
</div>
|
|
1182
|
-
</div>
|
|
1183
|
-
</div>
|
|
1184
|
-
</div>
|
|
1185
|
-
</>
|
|
1186
88
|
),
|
|
1187
89
|
},
|
|
1188
90
|
},
|
|
1189
91
|
tags: ["autodocs"],
|
|
1190
92
|
argTypes: {
|
|
1191
|
-
width: {
|
|
1192
|
-
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
1193
|
-
description: "Width of the icon (maintains aspect ratio)",
|
|
1194
|
-
},
|
|
1195
|
-
withAccessibility: {
|
|
1196
|
-
control: "boolean",
|
|
1197
|
-
description: "Whether to wrap the icon with accessibility features",
|
|
1198
|
-
},
|
|
1199
|
-
height: {
|
|
1200
|
-
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
1201
|
-
description: "Height of the icon (maintains aspect ratio)",
|
|
1202
|
-
},
|
|
1203
|
-
fill: {
|
|
1204
|
-
control: "color",
|
|
1205
|
-
description: "Fill color of the Instagram camera icon",
|
|
1206
|
-
},
|
|
1207
93
|
className: {
|
|
1208
94
|
control: "text",
|
|
1209
|
-
description: "CSS classes
|
|
95
|
+
description: "CSS classes including color token",
|
|
1210
96
|
},
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
description: "
|
|
97
|
+
withAccessibility: {
|
|
98
|
+
control: "boolean",
|
|
99
|
+
description: "Wrap with accessibility label",
|
|
1214
100
|
},
|
|
1215
101
|
},
|
|
1216
102
|
}
|
|
@@ -1218,238 +104,128 @@ function SocialLinks() {
|
|
|
1218
104
|
export default meta
|
|
1219
105
|
type Story = StoryObj<typeof InstagramIcon>
|
|
1220
106
|
|
|
1221
|
-
// Story parameters for consistent dark theme
|
|
1222
|
-
const storyParameters = {
|
|
1223
|
-
backgrounds: {
|
|
1224
|
-
default: "dark",
|
|
1225
|
-
values: [
|
|
1226
|
-
{ name: "dark", value: "#0a0a0a" },
|
|
1227
|
-
{ name: "darker", value: "#000000" },
|
|
1228
|
-
],
|
|
1229
|
-
},
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
107
|
export const Default: Story = {
|
|
1233
108
|
args: {
|
|
1234
|
-
className: "h-
|
|
109
|
+
className: "h-6 w-6 text-fm-icon-active",
|
|
1235
110
|
withAccessibility: true,
|
|
1236
111
|
},
|
|
1237
|
-
parameters: storyParameters,
|
|
1238
112
|
render: (args) => (
|
|
1239
|
-
<
|
|
113
|
+
<IconDefaultCanvas>
|
|
1240
114
|
<InstagramIcon {...args} />
|
|
1241
|
-
</
|
|
115
|
+
</IconDefaultCanvas>
|
|
1242
116
|
),
|
|
1243
117
|
}
|
|
1244
118
|
|
|
1245
119
|
export const SizeVariations: Story = {
|
|
1246
|
-
|
|
1247
|
-
...storyParameters,
|
|
1248
|
-
docs: {
|
|
1249
|
-
description: {
|
|
1250
|
-
story:
|
|
1251
|
-
"InstagramIcon in different sizes, from small inline social links to large brand displays.",
|
|
1252
|
-
},
|
|
1253
|
-
},
|
|
1254
|
-
},
|
|
1255
|
-
render: () => (
|
|
1256
|
-
<div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
|
|
1257
|
-
<div className="text-center">
|
|
1258
|
-
<InstagramIcon className="!mx-auto mb-2 h-3 w-3 text-pink-400" />
|
|
1259
|
-
<span className="text-xs text-white/60">12px</span>
|
|
1260
|
-
</div>
|
|
1261
|
-
<div className="text-center">
|
|
1262
|
-
<InstagramIcon className="!mx-auto mb-2 h-4 w-4 text-pink-400" />
|
|
1263
|
-
<span className="text-xs text-white/60">16px</span>
|
|
1264
|
-
</div>
|
|
1265
|
-
<div className="text-center">
|
|
1266
|
-
<InstagramIcon className="!mx-auto mb-2 h-5 w-5 text-pink-400" />
|
|
1267
|
-
<span className="text-xs text-white/60">20px</span>
|
|
1268
|
-
</div>
|
|
1269
|
-
<div className="text-center">
|
|
1270
|
-
<InstagramIcon className="!mx-auto mb-2 h-6 w-6 text-pink-400" />
|
|
1271
|
-
<span className="text-xs text-white/60">24px</span>
|
|
1272
|
-
</div>
|
|
1273
|
-
<div className="text-center">
|
|
1274
|
-
<InstagramIcon className="!mx-auto mb-2 h-8 w-8 text-pink-400" />
|
|
1275
|
-
<span className="text-xs text-white/60">32px</span>
|
|
1276
|
-
</div>
|
|
1277
|
-
<div className="text-center">
|
|
1278
|
-
<InstagramIcon className="!mx-auto mb-2 h-12 w-12 text-pink-400" />
|
|
1279
|
-
<span className="text-xs text-white/60">48px</span>
|
|
1280
|
-
</div>
|
|
1281
|
-
</div>
|
|
1282
|
-
),
|
|
120
|
+
render: () => <IconSizeVariations icon={InstagramIcon} />,
|
|
1283
121
|
}
|
|
1284
122
|
|
|
1285
|
-
export const
|
|
1286
|
-
parameters: {
|
|
1287
|
-
...storyParameters,
|
|
1288
|
-
docs: {
|
|
1289
|
-
description: {
|
|
1290
|
-
story:
|
|
1291
|
-
"InstagramIcon with Instagram's signature gradient colors and brand-compliant styling.",
|
|
1292
|
-
},
|
|
1293
|
-
},
|
|
1294
|
-
},
|
|
123
|
+
export const BrandColors: Story = {
|
|
1295
124
|
render: () => (
|
|
1296
|
-
<
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
125
|
+
<IconBrandColors
|
|
126
|
+
icon={InstagramIcon}
|
|
127
|
+
variants={[
|
|
128
|
+
{
|
|
129
|
+
label: "Brand Gradient",
|
|
130
|
+
description: "Recommended",
|
|
131
|
+
cardClassName: "h-24 w-24",
|
|
132
|
+
cardStyle: {
|
|
133
|
+
background:
|
|
134
|
+
"linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)",
|
|
135
|
+
},
|
|
136
|
+
iconClassName: "h-8 w-8 text-white",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
label: "Light Background",
|
|
140
|
+
description: "Alternate",
|
|
141
|
+
cardClassName:
|
|
142
|
+
"border-fm-divider-secondary h-24 w-24 border bg-white",
|
|
143
|
+
iconClassName: "h-8 w-8 text-black",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
label: "Primary Surface",
|
|
147
|
+
description: "Theme surface",
|
|
148
|
+
cardClassName: "bg-fm-surface-primary h-24 w-24",
|
|
149
|
+
iconClassName: "h-8 w-8 text-white",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
label: "Transparent",
|
|
153
|
+
description: "Original mark",
|
|
154
|
+
cardClassName:
|
|
155
|
+
"border-fm-divider-contrast h-24 w-24 border bg-transparent",
|
|
156
|
+
iconClassName: "h-8 w-8 text-white",
|
|
157
|
+
},
|
|
158
|
+
]}
|
|
159
|
+
/>
|
|
1326
160
|
),
|
|
1327
161
|
}
|
|
1328
162
|
|
|
1329
163
|
export const UsageExamples: Story = {
|
|
1330
|
-
parameters: {
|
|
1331
|
-
...storyParameters,
|
|
1332
|
-
docs: {
|
|
1333
|
-
description: {
|
|
1334
|
-
story:
|
|
1335
|
-
"Real-world usage examples showing InstagramIcon in different visual content and social media contexts.",
|
|
1336
|
-
},
|
|
1337
|
-
},
|
|
1338
|
-
},
|
|
1339
164
|
render: () => (
|
|
1340
|
-
<
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
</div>
|
|
1361
|
-
</div>
|
|
1362
|
-
</div>
|
|
1363
|
-
</div>
|
|
1364
|
-
|
|
1365
|
-
{/* Photo Gallery */}
|
|
1366
|
-
<div className="!space-y-2">
|
|
1367
|
-
<h3 className="text-sm font-medium text-white">
|
|
1368
|
-
Instagram Gallery Widget
|
|
1369
|
-
</h3>
|
|
1370
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
1371
|
-
<div className="mb-4 flex items-center justify-between">
|
|
1372
|
-
<h4 className="text-sm font-semibold text-white">
|
|
1373
|
-
Latest from Instagram
|
|
1374
|
-
</h4>
|
|
1375
|
-
<a
|
|
1376
|
-
href="#"
|
|
1377
|
-
className="flex items-center gap-2 rounded-full bg-gradient-to-r from-pink-500 to-orange-500 px-3 py-1 text-xs text-white transition-colors hover:from-pink-600 hover:to-orange-600"
|
|
1378
|
-
>
|
|
1379
|
-
<InstagramIcon className="h-3 w-3" />
|
|
1380
|
-
<span>View All</span>
|
|
1381
|
-
</a>
|
|
1382
|
-
</div>
|
|
1383
|
-
<div className="grid grid-cols-4 gap-2">
|
|
1384
|
-
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-blue-500/20 to-purple-500/20">
|
|
1385
|
-
<span className="text-lg">🌅</span>
|
|
1386
|
-
</div>
|
|
1387
|
-
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-green-500/20 to-teal-500/20">
|
|
1388
|
-
<span className="text-lg">🌿</span>
|
|
1389
|
-
</div>
|
|
1390
|
-
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-yellow-500/20 to-orange-500/20">
|
|
1391
|
-
<span className="text-lg">☕</span>
|
|
1392
|
-
</div>
|
|
1393
|
-
<div className="flex aspect-square items-center justify-center rounded bg-gradient-to-br from-purple-500/20 to-pink-500/20">
|
|
1394
|
-
<span className="text-lg">🎨</span>
|
|
1395
|
-
</div>
|
|
1396
|
-
</div>
|
|
1397
|
-
</div>
|
|
1398
|
-
</div>
|
|
1399
|
-
|
|
1400
|
-
{/* Social Links */}
|
|
1401
|
-
<div className="!space-y-2">
|
|
1402
|
-
<h3 className="text-sm font-medium text-white">Social Media Links</h3>
|
|
1403
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
1404
|
-
<div className="flex items-center gap-3">
|
|
1405
|
-
<span className="text-sm text-white/60">Follow us:</span>
|
|
1406
|
-
<div className="flex gap-2">
|
|
1407
|
-
<a
|
|
1408
|
-
href="#"
|
|
1409
|
-
className="rounded bg-gradient-to-br from-pink-500 via-purple-500 to-orange-500 p-2 transition-transform hover:scale-110"
|
|
1410
|
-
>
|
|
1411
|
-
<InstagramIcon className="h-4 w-4 text-white" />
|
|
1412
|
-
</a>
|
|
1413
|
-
<a
|
|
1414
|
-
href="#"
|
|
1415
|
-
className="rounded border border-gray-700 bg-black p-2 transition-transform hover:scale-110"
|
|
1416
|
-
>
|
|
1417
|
-
<span className="text-sm text-white">𝕏</span>
|
|
1418
|
-
</a>
|
|
165
|
+
<IconUsageCanvas>
|
|
166
|
+
<IconUsageSection title="Social Follow Button">
|
|
167
|
+
<button
|
|
168
|
+
className="flex items-center gap-2 rounded-xl px-4 py-2 text-white"
|
|
169
|
+
style={{
|
|
170
|
+
background:
|
|
171
|
+
"linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)",
|
|
172
|
+
}}
|
|
173
|
+
>
|
|
174
|
+
<InstagramIcon className="h-4 w-4 text-white" />
|
|
175
|
+
<span className="font-fm-text text-sm font-medium">
|
|
176
|
+
Follow on Instagram
|
|
177
|
+
</span>
|
|
178
|
+
</button>
|
|
179
|
+
</IconUsageSection>
|
|
180
|
+
|
|
181
|
+
<IconUsageSection title="Social Links Row">
|
|
182
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex w-full max-w-sm items-center justify-center gap-4 rounded-xl border p-4">
|
|
183
|
+
{[InstagramIcon, LinkedInIcon, TwitterXIcon, YoutubeIcon].map(
|
|
184
|
+
(Icon, i) => (
|
|
1419
185
|
<a
|
|
186
|
+
key={i}
|
|
1420
187
|
href="#"
|
|
1421
|
-
className="
|
|
188
|
+
className="border-fm-divider-secondary flex h-10 w-10 items-center justify-center rounded-xl border"
|
|
189
|
+
target="_blank"
|
|
190
|
+
rel="noreferrer"
|
|
1422
191
|
>
|
|
1423
|
-
<
|
|
192
|
+
<Icon className="text-fm-icon-active h-5 w-5" />
|
|
1424
193
|
</a>
|
|
194
|
+
)
|
|
195
|
+
)}
|
|
196
|
+
</div>
|
|
197
|
+
</IconUsageSection>
|
|
198
|
+
|
|
199
|
+
<IconUsageSection title="Creator Profile">
|
|
200
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary w-full max-w-sm rounded-xl border p-4">
|
|
201
|
+
<div className="flex items-center gap-3">
|
|
202
|
+
<div className="bg-fm-divider-secondary h-12 w-12 rounded-full" />
|
|
203
|
+
<div className="flex-1">
|
|
204
|
+
<div className="text-fm-primary font-fm-text text-sm font-medium">
|
|
205
|
+
Pocket FM
|
|
206
|
+
</div>
|
|
207
|
+
<div className="text-fm-secondary font-fm-text text-xs">
|
|
208
|
+
Audio entertainment
|
|
209
|
+
</div>
|
|
1425
210
|
</div>
|
|
211
|
+
<a href="#" target="_blank" rel="noreferrer" aria-label="Instagram">
|
|
212
|
+
<InstagramIcon className="text-fm-icon-inactive h-5 w-5" />
|
|
213
|
+
</a>
|
|
1426
214
|
</div>
|
|
1427
215
|
</div>
|
|
1428
|
-
</
|
|
1429
|
-
</
|
|
216
|
+
</IconUsageSection>
|
|
217
|
+
</IconUsageCanvas>
|
|
1430
218
|
),
|
|
1431
219
|
}
|
|
1432
220
|
|
|
1433
221
|
export const Playground: Story = {
|
|
1434
|
-
parameters: {
|
|
1435
|
-
...storyParameters,
|
|
1436
|
-
docs: {
|
|
1437
|
-
description: {
|
|
1438
|
-
story:
|
|
1439
|
-
"Interactive playground to experiment with different InstagramIcon configurations.",
|
|
1440
|
-
},
|
|
1441
|
-
},
|
|
1442
|
-
},
|
|
1443
222
|
args: {
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
className: "text-pink-400",
|
|
223
|
+
className: "h-8 w-8 text-fm-icon-active",
|
|
224
|
+
withAccessibility: true,
|
|
1447
225
|
},
|
|
1448
226
|
render: (args) => (
|
|
1449
|
-
<
|
|
1450
|
-
<
|
|
1451
|
-
|
|
1452
|
-
</div>
|
|
1453
|
-
</div>
|
|
227
|
+
<IconPlaygroundCanvas>
|
|
228
|
+
<InstagramIcon {...args} />
|
|
229
|
+
</IconPlaygroundCanvas>
|
|
1454
230
|
),
|
|
1455
231
|
}
|