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