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 { EditBigIcon } from "src/ui/icons/edit-big-icon"
|
|
5
|
+
import { PencilIcon } from "src/ui/icons/pencil-icon"
|
|
6
|
+
import { TextColorIcon } from "src/ui/icons/text-color-icon"
|
|
7
|
+
import { TextIndicatorIcon } from "src/ui/icons/text-indicator-icon"
|
|
8
|
+
import {
|
|
9
|
+
IconColorVariations,
|
|
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 { CapitalALetterIcon } from "."
|
|
5
19
|
|
|
6
20
|
const meta: Meta<typeof CapitalALetterIcon> = {
|
|
@@ -11,779 +25,79 @@ const meta: Meta<typeof CapitalALetterIcon> = {
|
|
|
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-purple-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-purple-500/10 via-transparent to-blue-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-purple-500/20">
|
|
90
|
-
<CapitalALetterIcon className="h-12 w-12 text-blue-400" />
|
|
91
|
-
</div>
|
|
92
|
-
<h1 className="!text-fm-primary text-5xl font-bold">
|
|
93
|
-
CapitalALetterIcon
|
|
94
|
-
</h1>
|
|
95
|
-
<p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
|
|
96
|
-
A clean, minimalist capital letter 'A' icon perfect for
|
|
97
|
-
typography-focused designs, text formatting tools, and
|
|
98
|
-
alphabetical navigation. Built with accessibility in mind.
|
|
99
|
-
</p>
|
|
100
|
-
|
|
101
|
-
{/* Stats */}
|
|
102
|
-
<div className="flex items-center justify-center gap-8 pt-8">
|
|
103
|
-
<div className="text-center">
|
|
104
|
-
<div className="text-3xl font-bold text-blue-300">
|
|
105
|
-
Typography
|
|
106
|
-
</div>
|
|
107
|
-
<div className="text-sm text-white/60">
|
|
108
|
-
Font & text tools
|
|
109
|
-
</div>
|
|
110
|
-
</div>
|
|
111
|
-
<div className="h-8 w-px bg-white/20" />
|
|
112
|
-
<div className="text-center">
|
|
113
|
-
<div className="text-3xl font-bold text-purple-300">
|
|
114
|
-
Clean
|
|
115
|
-
</div>
|
|
116
|
-
<div className="text-sm text-white/60">
|
|
117
|
-
Minimal design
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
<div className="h-8 w-px bg-white/20" />
|
|
121
|
-
<div className="text-center">
|
|
122
|
-
<div className="text-3xl font-bold text-cyan-300">
|
|
123
|
-
Scalable
|
|
124
|
-
</div>
|
|
125
|
-
<div className="text-sm text-white/60">Vector based</div>
|
|
126
|
-
</div>
|
|
127
|
-
</div>
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
|
|
132
|
-
{/* Content */}
|
|
133
|
-
<div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
|
|
134
|
-
{/* Quick Usage */}
|
|
135
|
-
<div className="!space-y-8">
|
|
136
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
137
|
-
Quick Start
|
|
138
|
-
</h2>
|
|
139
|
-
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
140
|
-
<div className="!space-y-4">
|
|
141
|
-
<h3 className="text-xl font-semibold !text-blue-300">
|
|
142
|
-
Basic Usage
|
|
143
|
-
</h3>
|
|
144
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
145
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
146
|
-
{`import { CapitalALetterIcon } from "@icons/capital-a-letter-icon"
|
|
147
|
-
|
|
148
|
-
function MyComponent() {
|
|
149
|
-
return (
|
|
150
|
-
<div className="flex items-center gap-2">
|
|
151
|
-
<CapitalALetterIcon className="h-5 w-5 text-blue-500" />
|
|
152
|
-
<span>Text Formatting</span>
|
|
153
|
-
</div>
|
|
154
|
-
)
|
|
155
|
-
}`}
|
|
156
|
-
</pre>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
|
|
160
|
-
<div className="!space-y-4">
|
|
161
|
-
<h3 className="text-xl font-semibold !text-blue-300">
|
|
162
|
-
Live Preview
|
|
163
|
-
</h3>
|
|
164
|
-
<div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
|
|
165
|
-
<div className="flex items-center gap-3 rounded-lg border border-blue-500/20 bg-blue-500/10 px-4 py-2">
|
|
166
|
-
<CapitalALetterIcon className="h-5 w-5 text-blue-400" />
|
|
167
|
-
<span className="text-white">Text Formatting</span>
|
|
168
|
-
</div>
|
|
169
|
-
</div>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
{/* Props Documentation */}
|
|
175
|
-
<div className="!space-y-8">
|
|
176
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
177
|
-
Props & Configuration
|
|
178
|
-
</h2>
|
|
179
|
-
|
|
180
|
-
<div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
|
|
181
|
-
<div className="bg-white/5 p-4">
|
|
182
|
-
<h3 className="text-xl font-semibold !text-white">Props</h3>
|
|
183
|
-
</div>
|
|
184
|
-
<table className="!my-0 w-full">
|
|
185
|
-
<thead className="bg-white/5">
|
|
186
|
-
<tr className="border-b border-white/10">
|
|
187
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
188
|
-
Prop
|
|
189
|
-
</th>
|
|
190
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
191
|
-
Type
|
|
192
|
-
</th>
|
|
193
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
194
|
-
Default
|
|
195
|
-
</th>
|
|
196
|
-
<th className="px-6 py-4 text-left text-sm font-semibold !text-white">
|
|
197
|
-
Description
|
|
198
|
-
</th>
|
|
199
|
-
</tr>
|
|
200
|
-
</thead>
|
|
201
|
-
<tbody>
|
|
202
|
-
{" "}
|
|
203
|
-
<tr className="!bg-black/10">
|
|
204
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
205
|
-
withAccessibility
|
|
206
|
-
</td>
|
|
207
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
208
|
-
boolean
|
|
209
|
-
</td>
|
|
210
|
-
<td className="px-6 py-4 text-sm !text-white/50">
|
|
211
|
-
true
|
|
212
|
-
</td>
|
|
213
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
214
|
-
Whether to wrap the icon with accessibility feature
|
|
215
|
-
</td>
|
|
216
|
-
</tr>
|
|
217
|
-
<tr className="border-b border-white/5 !bg-black/10">
|
|
218
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
219
|
-
height
|
|
220
|
-
</td>
|
|
221
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
222
|
-
number | string
|
|
223
|
-
</td>
|
|
224
|
-
<td className="px-6 py-4 text-sm !text-white/50">16</td>
|
|
225
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
226
|
-
Height of the icon in pixels
|
|
227
|
-
</td>
|
|
228
|
-
</tr>
|
|
229
|
-
<tr className="border-b border-white/5">
|
|
230
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
231
|
-
stroke
|
|
232
|
-
</td>
|
|
233
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
234
|
-
string
|
|
235
|
-
</td>
|
|
236
|
-
<td className="px-6 py-4 text-sm !text-white/50">
|
|
237
|
-
currentColor
|
|
238
|
-
</td>
|
|
239
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
240
|
-
Stroke color of the icon
|
|
241
|
-
</td>
|
|
242
|
-
</tr>
|
|
243
|
-
<tr className="border-b border-white/5 !bg-black/10">
|
|
244
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
245
|
-
strokeWidth
|
|
246
|
-
</td>
|
|
247
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
248
|
-
number
|
|
249
|
-
</td>
|
|
250
|
-
<td className="px-6 py-4 text-sm !text-white/50">
|
|
251
|
-
1.5
|
|
252
|
-
</td>
|
|
253
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
254
|
-
Thickness of the stroke
|
|
255
|
-
</td>
|
|
256
|
-
</tr>
|
|
257
|
-
<tr className="border-b border-white/5">
|
|
258
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-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
|
|
267
|
-
</td>
|
|
268
|
-
</tr>
|
|
269
|
-
<tr className="!bg-black/10">
|
|
270
|
-
<td className="px-6 py-4 font-mono text-sm !text-blue-300">
|
|
271
|
-
...svgProps
|
|
272
|
-
</td>
|
|
273
|
-
<td className="px-6 py-4 text-sm !text-white/70">
|
|
274
|
-
SVGProps
|
|
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
|
-
All standard SVG element props
|
|
279
|
-
</td>
|
|
280
|
-
</tr>
|
|
281
|
-
</tbody>
|
|
282
|
-
</table>
|
|
283
|
-
</div>
|
|
284
|
-
</div>
|
|
285
|
-
|
|
286
|
-
{/* Size Variations */}
|
|
287
|
-
<div className="!space-y-8">
|
|
288
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
289
|
-
Size Variations
|
|
290
|
-
</h2>
|
|
291
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-8">
|
|
292
|
-
<div className="!space-y-6">
|
|
293
|
-
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
294
|
-
<div className="!space-y-4">
|
|
295
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
296
|
-
Standard Sizes
|
|
297
|
-
</h3>
|
|
298
|
-
<div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
|
|
299
|
-
<div className="text-center">
|
|
300
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-3 w-3 text-blue-400" />
|
|
301
|
-
<span className="text-xs text-white/60">12px</span>
|
|
302
|
-
</div>
|
|
303
|
-
<div className="text-center">
|
|
304
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-4 w-4 text-blue-400" />
|
|
305
|
-
<span className="text-xs text-white/60">16px</span>
|
|
306
|
-
</div>
|
|
307
|
-
<div className="text-center">
|
|
308
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-5 w-5 text-blue-400" />
|
|
309
|
-
<span className="text-xs text-white/60">20px</span>
|
|
310
|
-
</div>
|
|
311
|
-
<div className="text-center">
|
|
312
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-6 w-6 text-blue-400" />
|
|
313
|
-
<span className="text-xs text-white/60">24px</span>
|
|
314
|
-
</div>
|
|
315
|
-
<div className="text-center">
|
|
316
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-8 w-8 text-blue-400" />
|
|
317
|
-
<span className="text-xs text-white/60">32px</span>
|
|
318
|
-
</div>
|
|
319
|
-
<div className="text-center">
|
|
320
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-12 w-12 text-blue-400" />
|
|
321
|
-
<span className="text-xs text-white/60">48px</span>
|
|
322
|
-
</div>
|
|
323
|
-
</div>
|
|
324
|
-
</div>
|
|
325
|
-
|
|
326
|
-
<div className="!space-y-4">
|
|
327
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
328
|
-
Code Example
|
|
329
|
-
</h3>
|
|
330
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
331
|
-
<pre className="overflow-x-auto text-sm !text-cyan-300">
|
|
332
|
-
{`// Small (16px)
|
|
333
|
-
<CapitalALetterIcon className="h-4 w-4" />
|
|
334
|
-
|
|
335
|
-
// Medium (24px)
|
|
336
|
-
<CapitalALetterIcon className="h-6 w-6" />
|
|
337
|
-
|
|
338
|
-
// Large (32px)
|
|
339
|
-
<CapitalALetterIcon className="h-8 w-8" />
|
|
340
|
-
|
|
341
|
-
// Custom size
|
|
342
|
-
<CapitalALetterIcon width={40} height={40} />`}
|
|
343
|
-
</pre>
|
|
344
|
-
</div>
|
|
345
|
-
</div>
|
|
346
|
-
</div>
|
|
347
|
-
</div>
|
|
348
|
-
</div>
|
|
349
|
-
</div>
|
|
350
|
-
|
|
351
|
-
{/* Color Variations */}
|
|
352
|
-
<div className="!space-y-8">
|
|
353
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
354
|
-
Color Variations
|
|
355
|
-
</h2>
|
|
356
|
-
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
357
|
-
<div className="!space-y-4">
|
|
358
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
359
|
-
Theme Colors
|
|
360
|
-
</h3>
|
|
361
|
-
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
362
|
-
<div className="flex items-center gap-4">
|
|
363
|
-
<CapitalALetterIcon className="h-6 w-6 text-blue-400" />
|
|
364
|
-
<div>
|
|
365
|
-
<div className="text-sm font-medium text-white">
|
|
366
|
-
Primary
|
|
367
|
-
</div>
|
|
368
|
-
<div className="text-xs text-white/60">
|
|
369
|
-
text-blue-400
|
|
370
|
-
</div>
|
|
371
|
-
</div>
|
|
372
|
-
</div>
|
|
373
|
-
<div className="flex items-center gap-4">
|
|
374
|
-
<CapitalALetterIcon className="h-6 w-6 text-purple-400" />
|
|
375
|
-
<div>
|
|
376
|
-
<div className="text-sm font-medium text-white">
|
|
377
|
-
Secondary
|
|
378
|
-
</div>
|
|
379
|
-
<div className="text-xs text-white/60">
|
|
380
|
-
text-purple-400
|
|
381
|
-
</div>
|
|
382
|
-
</div>
|
|
383
|
-
</div>
|
|
384
|
-
<div className="flex items-center gap-4">
|
|
385
|
-
<CapitalALetterIcon className="h-6 w-6 text-cyan-400" />
|
|
386
|
-
<div>
|
|
387
|
-
<div className="text-sm font-medium text-white">
|
|
388
|
-
Accent
|
|
389
|
-
</div>
|
|
390
|
-
<div className="text-xs text-white/60">
|
|
391
|
-
text-cyan-400
|
|
392
|
-
</div>
|
|
393
|
-
</div>
|
|
394
|
-
</div>
|
|
395
|
-
<div className="flex items-center gap-4">
|
|
396
|
-
<CapitalALetterIcon className="h-6 w-6 text-gray-400" />
|
|
397
|
-
<div>
|
|
398
|
-
<div className="text-sm font-medium text-white">
|
|
399
|
-
Muted
|
|
400
|
-
</div>
|
|
401
|
-
<div className="text-xs text-white/60">
|
|
402
|
-
text-gray-400
|
|
403
|
-
</div>
|
|
404
|
-
</div>
|
|
405
|
-
</div>
|
|
406
|
-
</div>
|
|
407
|
-
</div>
|
|
408
|
-
|
|
409
|
-
<div className="!space-y-4">
|
|
410
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
411
|
-
Custom Colors
|
|
412
|
-
</h3>
|
|
413
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
414
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
415
|
-
{`// Using Tailwind classes
|
|
416
|
-
<CapitalALetterIcon className="h-6 w-6 text-blue-400" />
|
|
417
|
-
<CapitalALetterIcon className="h-6 w-6 text-purple-500" />
|
|
418
|
-
|
|
419
|
-
// Using CSS custom properties
|
|
420
|
-
<CapitalALetterIcon
|
|
421
|
-
className="h-6 w-6"
|
|
422
|
-
style={{ color: 'var(--color-primary)' }}
|
|
423
|
-
/>
|
|
424
|
-
|
|
425
|
-
// Direct stroke prop
|
|
426
|
-
<CapitalALetterIcon
|
|
427
|
-
width={24}
|
|
428
|
-
height={24}
|
|
429
|
-
stroke="#3b82f6"
|
|
430
|
-
/>`}
|
|
431
|
-
</pre>
|
|
432
|
-
</div>
|
|
433
|
-
</div>
|
|
434
|
-
</div>
|
|
435
|
-
</div>
|
|
436
|
-
|
|
437
|
-
{/* Usage Examples */}
|
|
438
|
-
<div className="!space-y-8">
|
|
439
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
440
|
-
Usage Examples
|
|
441
|
-
</h2>
|
|
442
|
-
|
|
443
|
-
<div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
|
|
444
|
-
{/* Text Editor Toolbar */}
|
|
445
|
-
<div className="!space-y-4">
|
|
446
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
447
|
-
Text Editor Toolbar
|
|
448
|
-
</h3>
|
|
449
|
-
<div className="!space-y-4">
|
|
450
|
-
<div className="flex items-center gap-2 rounded-lg border border-white/10 bg-white/5 p-3">
|
|
451
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-blue-400 hover:bg-blue-500/20">
|
|
452
|
-
<CapitalALetterIcon className="h-4 w-4" />
|
|
453
|
-
</button>
|
|
454
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-gray-400 hover:bg-gray-500/20">
|
|
455
|
-
<span className="text-sm font-bold">B</span>
|
|
456
|
-
</button>
|
|
457
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-gray-400 hover:bg-gray-500/20">
|
|
458
|
-
<span className="text-sm font-bold italic">I</span>
|
|
459
|
-
</button>
|
|
460
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-gray-400 hover:bg-gray-500/20">
|
|
461
|
-
<span className="text-sm font-bold underline">U</span>
|
|
462
|
-
</button>
|
|
463
|
-
</div>
|
|
464
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
465
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
466
|
-
{`<div className="flex items-center gap-2 bg-white/5 border border-white/10 p-3 rounded-lg">
|
|
467
|
-
<button className="flex items-center justify-center h-8 w-8 rounded text-blue-400 hover:bg-blue-500/20">
|
|
468
|
-
<CapitalALetterIcon className="h-4 w-4" />
|
|
469
|
-
</button>
|
|
470
|
-
{/* Other formatting buttons */}
|
|
471
|
-
</div>`}
|
|
472
|
-
</pre>
|
|
473
|
-
</div>
|
|
474
|
-
</div>
|
|
475
|
-
</div>
|
|
476
|
-
|
|
477
|
-
{/* Font Size Selector */}
|
|
478
|
-
<div className="!space-y-4">
|
|
479
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
480
|
-
Font Size Selector
|
|
481
|
-
</h3>
|
|
482
|
-
<div className="!space-y-4">
|
|
483
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
484
|
-
<div className="flex items-center gap-3">
|
|
485
|
-
<CapitalALetterIcon className="h-4 w-4 text-blue-400" />
|
|
486
|
-
<span className="text-sm text-white/70">
|
|
487
|
-
Font Size
|
|
488
|
-
</span>
|
|
489
|
-
<select className="rounded border border-white/20 bg-white/10 px-3 py-1 text-sm text-white">
|
|
490
|
-
<option>12px</option>
|
|
491
|
-
<option>14px</option>
|
|
492
|
-
<option>16px</option>
|
|
493
|
-
<option>18px</option>
|
|
494
|
-
<option>24px</option>
|
|
495
|
-
</select>
|
|
496
|
-
</div>
|
|
497
|
-
</div>
|
|
498
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
499
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
500
|
-
{`<div className="flex items-center gap-3">
|
|
501
|
-
<CapitalALetterIcon className="h-4 w-4 text-blue-400" />
|
|
502
|
-
<span className="text-sm text-white/70">Font Size</span>
|
|
503
|
-
<select className="rounded border border-white/20 bg-white/10 px-3 py-1 text-sm text-white">
|
|
504
|
-
<option>12px</option>
|
|
505
|
-
<option>14px</option>
|
|
506
|
-
<option>16px</option>
|
|
507
|
-
</select>
|
|
508
|
-
</div>`}
|
|
509
|
-
</pre>
|
|
510
|
-
</div>
|
|
511
|
-
</div>
|
|
512
|
-
</div>
|
|
513
|
-
|
|
514
|
-
{/* Alphabetical Navigation */}
|
|
515
|
-
<div className="!space-y-4">
|
|
516
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
517
|
-
Alphabetical Navigation
|
|
518
|
-
</h3>
|
|
519
|
-
<div className="!space-y-4">
|
|
520
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
521
|
-
<div className="flex items-center gap-2">
|
|
522
|
-
<button className="flex h-8 w-8 items-center justify-center rounded-full border border-blue-500/30 bg-blue-500/20 text-blue-400">
|
|
523
|
-
<CapitalALetterIcon className="h-4 w-4" />
|
|
524
|
-
</button>
|
|
525
|
-
<button className="flex h-8 w-8 items-center justify-center rounded-full border border-white/20 bg-white/5 text-gray-400">
|
|
526
|
-
<span className="text-sm font-bold">B</span>
|
|
527
|
-
</button>
|
|
528
|
-
<button className="flex h-8 w-8 items-center justify-center rounded-full border border-white/20 bg-white/5 text-gray-400">
|
|
529
|
-
<span className="text-sm font-bold">C</span>
|
|
530
|
-
</button>
|
|
531
|
-
<span className="text-white/40">...</span>
|
|
532
|
-
</div>
|
|
533
|
-
</div>
|
|
534
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
535
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
536
|
-
{`<div className="flex items-center gap-2">
|
|
537
|
-
<button className="flex items-center justify-center h-8 w-8 rounded-full border border-blue-500/30 bg-blue-500/20 text-blue-400">
|
|
538
|
-
<CapitalALetterIcon className="h-4 w-4" />
|
|
539
|
-
</button>
|
|
540
|
-
<button className="flex items-center justify-center h-8 w-8 rounded-full border border-white/20 bg-white/5 text-gray-400">
|
|
541
|
-
<span className="text-sm font-bold">B</span>
|
|
542
|
-
</button>
|
|
543
|
-
</div>`}
|
|
544
|
-
</pre>
|
|
545
|
-
</div>
|
|
546
|
-
</div>
|
|
547
|
-
</div>
|
|
548
|
-
|
|
549
|
-
{/* Typography Settings */}
|
|
550
|
-
<div className="!space-y-4">
|
|
551
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
552
|
-
Typography Settings
|
|
553
|
-
</h3>
|
|
554
|
-
<div className="!space-y-4">
|
|
555
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
556
|
-
<div className="!space-y-3">
|
|
557
|
-
<div className="flex items-center justify-between">
|
|
558
|
-
<div className="flex items-center gap-3">
|
|
559
|
-
<CapitalALetterIcon className="h-5 w-5 text-blue-400" />
|
|
560
|
-
<span className="text-white">Typography</span>
|
|
561
|
-
</div>
|
|
562
|
-
<button className="text-xs text-blue-400 hover:text-blue-300">
|
|
563
|
-
Edit
|
|
564
|
-
</button>
|
|
565
|
-
</div>
|
|
566
|
-
<div className="ml-8 text-sm text-white/60">
|
|
567
|
-
<div>Font Family: Inter</div>
|
|
568
|
-
<div>Font Size: 16px</div>
|
|
569
|
-
<div>Line Height: 1.5</div>
|
|
570
|
-
</div>
|
|
571
|
-
</div>
|
|
572
|
-
</div>
|
|
573
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
574
|
-
<pre className="overflow-x-auto text-sm !text-green-300">
|
|
575
|
-
{`<div className="flex items-center justify-between">
|
|
576
|
-
<div className="flex items-center gap-3">
|
|
577
|
-
<CapitalALetterIcon className="h-5 w-5 text-blue-400" />
|
|
578
|
-
<span className="text-white">Typography</span>
|
|
579
|
-
</div>
|
|
580
|
-
<button className="text-xs text-blue-400 hover:text-blue-300">
|
|
581
|
-
Edit
|
|
582
|
-
</button>
|
|
583
|
-
</div>`}
|
|
584
|
-
</pre>
|
|
585
|
-
</div>
|
|
586
|
-
</div>
|
|
587
|
-
</div>
|
|
588
|
-
</div>
|
|
589
|
-
</div>
|
|
590
|
-
|
|
591
|
-
{/* Accessibility */}
|
|
592
|
-
<div className="!space-y-8">
|
|
593
|
-
<h2 className="text-center text-3xl font-bold !text-white">
|
|
594
|
-
Accessibility Features
|
|
595
|
-
</h2>
|
|
596
|
-
<div className="grid grid-cols-1 gap-8 md:grid-cols-2">
|
|
597
|
-
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
598
|
-
<h3 className="text-lg font-semibold !text-green-300">
|
|
599
|
-
✅ Built-in Features
|
|
600
|
-
</h3>
|
|
601
|
-
<ul className="!space-y-2 text-sm !text-white/70">
|
|
602
|
-
<li className="!text-white/70">
|
|
603
|
-
Uses Radix UI AccessibleIcon wrapper
|
|
604
|
-
</li>
|
|
605
|
-
<li className="!text-white/70">
|
|
606
|
-
Provides screen reader label "Capital A Letter Icon"
|
|
607
|
-
</li>
|
|
608
|
-
<li className="!text-white/70">
|
|
609
|
-
Supports keyboard navigation when interactive
|
|
610
|
-
</li>
|
|
611
|
-
<li className="!text-white/70">
|
|
612
|
-
Maintains proper color contrast ratios
|
|
613
|
-
</li>
|
|
614
|
-
<li className="!text-white/70">
|
|
615
|
-
Scales with user's font size preferences
|
|
616
|
-
</li>
|
|
617
|
-
</ul>
|
|
618
|
-
</div>
|
|
619
|
-
|
|
620
|
-
<div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
|
|
621
|
-
<h3 className="text-lg font-semibold !text-blue-300">
|
|
622
|
-
💡 Best Practices
|
|
623
|
-
</h3>
|
|
624
|
-
<ul className="!space-y-2 text-sm text-white/70">
|
|
625
|
-
<li className="!text-white/70">
|
|
626
|
-
Use in typography-related contexts
|
|
627
|
-
</li>
|
|
628
|
-
<li className="!text-white/70">
|
|
629
|
-
Pair with descriptive labels or tooltips
|
|
630
|
-
</li>
|
|
631
|
-
<li className="!text-white/70">
|
|
632
|
-
Ensure sufficient color contrast
|
|
633
|
-
</li>
|
|
634
|
-
<li className="!text-white/70">
|
|
635
|
-
Add focus states for interactive elements
|
|
636
|
-
</li>
|
|
637
|
-
<li className="!text-white/70">
|
|
638
|
-
Consider context when choosing colors
|
|
639
|
-
</li>
|
|
640
|
-
</ul>
|
|
641
|
-
</div>
|
|
642
|
-
</div>
|
|
643
|
-
|
|
644
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-6">
|
|
645
|
-
<h3 className="mb-4 text-lg font-semibold !text-purple-300">
|
|
646
|
-
Custom Accessibility Label
|
|
647
|
-
</h3>
|
|
648
|
-
<div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
|
|
649
|
-
<div className="rounded-lg bg-black/40 p-4">
|
|
650
|
-
<pre className="overflow-x-auto text-sm !text-cyan-300">
|
|
651
|
-
{`// Custom implementation with specific label
|
|
652
|
-
import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
|
|
653
|
-
|
|
654
|
-
function CustomCapitalAIcon({ label = "Font size", ...props }) {
|
|
35
|
+
<AuralIconDocsPage
|
|
36
|
+
accentToken="info"
|
|
37
|
+
features={[
|
|
38
|
+
{ title: "Typography", description: "Font size / text style cue" },
|
|
39
|
+
{
|
|
40
|
+
title: "Text Formatting",
|
|
41
|
+
description: "Inline text tool button",
|
|
42
|
+
},
|
|
43
|
+
{ title: "Accessible", description: "ARIA-ready by default" },
|
|
44
|
+
]}
|
|
45
|
+
quickStart={{
|
|
46
|
+
codeExample: `import { CapitalALetterIcon } from "src/ui/icons/capital-a-letter-icon"
|
|
47
|
+
|
|
48
|
+
function FontSizeButton() {
|
|
655
49
|
return (
|
|
656
|
-
<
|
|
657
|
-
<
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
</AccessibleIcon>
|
|
50
|
+
<button className="flex items-center gap-2">
|
|
51
|
+
<CapitalALetterIcon className="h-5 w-5 text-fm-icon-active" />
|
|
52
|
+
<span>Font size</span>
|
|
53
|
+
</button>
|
|
661
54
|
)
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
<
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
697
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
|
|
698
|
-
<span className="!text-2xl font-bold !text-white">B</span>
|
|
699
|
-
</div>
|
|
700
|
-
<div>
|
|
701
|
-
<div className="font-medium text-white">Bold</div>
|
|
702
|
-
<div className="text-xs text-white/60">
|
|
703
|
-
Text formatting
|
|
704
|
-
</div>
|
|
705
|
-
</div>
|
|
706
|
-
</div>
|
|
707
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
708
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
|
|
709
|
-
<span className="!text-2xl font-bold !text-white italic">
|
|
710
|
-
I
|
|
711
|
-
</span>
|
|
712
|
-
</div>
|
|
713
|
-
<div>
|
|
714
|
-
<div className="font-medium text-white">Italic</div>
|
|
715
|
-
<div className="text-xs text-white/60">Text styling</div>
|
|
716
|
-
</div>
|
|
717
|
-
</div>
|
|
718
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
719
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
|
|
720
|
-
<span className="text-2xl">🔤</span>
|
|
721
|
-
</div>
|
|
722
|
-
<div>
|
|
723
|
-
<div className="font-medium text-white">TextIcon</div>
|
|
724
|
-
<div className="text-xs text-white/60">Text tools</div>
|
|
725
|
-
</div>
|
|
726
|
-
</div>
|
|
727
|
-
<div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
|
|
728
|
-
<div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-cyan-500/20">
|
|
729
|
-
<span className="text-2xl">📝</span>
|
|
730
|
-
</div>
|
|
731
|
-
<div>
|
|
732
|
-
<div className="font-medium text-white">EditIcon</div>
|
|
733
|
-
<div className="text-xs text-white/60">
|
|
734
|
-
Content editing
|
|
735
|
-
</div>
|
|
736
|
-
</div>
|
|
737
|
-
</div>
|
|
738
|
-
</div>
|
|
739
|
-
</div>
|
|
740
|
-
</div>
|
|
741
|
-
|
|
742
|
-
{/* Footer */}
|
|
743
|
-
<div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
|
|
744
|
-
<div className="!mx-auto max-w-7xl px-6 py-8">
|
|
745
|
-
<div className="!space-y-4 text-center">
|
|
746
|
-
<p className="!text-white/60">
|
|
747
|
-
CapitalALetterIcon is part of the Aural UI icon library,
|
|
748
|
-
designed for typography and text formatting interfaces.
|
|
749
|
-
</p>
|
|
750
|
-
<p className="text-sm !text-white/40">
|
|
751
|
-
All icons use Radix UI's AccessibleIcon for screen reader
|
|
752
|
-
compatibility and follow WCAG guidelines.
|
|
753
|
-
</p>
|
|
754
|
-
</div>
|
|
755
|
-
</div>
|
|
756
|
-
</div>
|
|
757
|
-
</div>
|
|
758
|
-
</>
|
|
55
|
+
}`,
|
|
56
|
+
livePreview: (
|
|
57
|
+
<button className="flex items-center gap-2">
|
|
58
|
+
<CapitalALetterIcon className="text-fm-icon-active h-6 w-6" />
|
|
59
|
+
</button>
|
|
60
|
+
),
|
|
61
|
+
}}
|
|
62
|
+
relatedIcons={[
|
|
63
|
+
{
|
|
64
|
+
name: "TextColorIcon",
|
|
65
|
+
description: "Text color formatting tool",
|
|
66
|
+
icon: TextColorIcon,
|
|
67
|
+
accentToken: "info",
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "TextIndicatorIcon",
|
|
71
|
+
description: "Text cursor indicator",
|
|
72
|
+
icon: TextIndicatorIcon,
|
|
73
|
+
accentToken: "positive",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: "EditBigIcon",
|
|
77
|
+
description: "Edit / modify action icon",
|
|
78
|
+
icon: EditBigIcon,
|
|
79
|
+
accentToken: "warning",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: "PencilIcon",
|
|
83
|
+
description: "Pencil / write icon",
|
|
84
|
+
icon: PencilIcon,
|
|
85
|
+
accentToken: "negative",
|
|
86
|
+
},
|
|
87
|
+
]}
|
|
88
|
+
/>
|
|
759
89
|
),
|
|
760
90
|
},
|
|
761
91
|
},
|
|
762
92
|
tags: ["autodocs"],
|
|
763
93
|
argTypes: {
|
|
764
|
-
|
|
765
|
-
control:
|
|
766
|
-
description: "
|
|
94
|
+
className: {
|
|
95
|
+
control: "text",
|
|
96
|
+
description: "CSS classes including color token",
|
|
767
97
|
},
|
|
768
98
|
withAccessibility: {
|
|
769
99
|
control: "boolean",
|
|
770
|
-
description: "
|
|
771
|
-
},
|
|
772
|
-
height: {
|
|
773
|
-
control: { type: "range", min: 8, max: 96, step: 2 },
|
|
774
|
-
description: "Height of the icon in pixels",
|
|
775
|
-
},
|
|
776
|
-
stroke: {
|
|
777
|
-
control: "color",
|
|
778
|
-
description: "Stroke color of the icon",
|
|
779
|
-
},
|
|
780
|
-
strokeWidth: {
|
|
781
|
-
control: { type: "range", min: 0.5, max: 3, step: 0.1 },
|
|
782
|
-
description: "Thickness of the stroke",
|
|
783
|
-
},
|
|
784
|
-
className: {
|
|
785
|
-
control: "text",
|
|
786
|
-
description: "CSS classes for styling",
|
|
100
|
+
description: "Wrap with accessibility label",
|
|
787
101
|
},
|
|
788
102
|
},
|
|
789
103
|
}
|
|
@@ -791,210 +105,79 @@ function CustomCapitalAIcon({ label = "Font size", ...props }) {
|
|
|
791
105
|
export default meta
|
|
792
106
|
type Story = StoryObj<typeof CapitalALetterIcon>
|
|
793
107
|
|
|
794
|
-
// Story parameters for consistent dark theme
|
|
795
|
-
const storyParameters = {
|
|
796
|
-
backgrounds: {
|
|
797
|
-
default: "dark",
|
|
798
|
-
values: [
|
|
799
|
-
{ name: "dark", value: "#0a0a0a" },
|
|
800
|
-
{ name: "darker", value: "#000000" },
|
|
801
|
-
],
|
|
802
|
-
},
|
|
803
|
-
}
|
|
804
|
-
|
|
805
108
|
export const Default: Story = {
|
|
806
109
|
args: {
|
|
807
|
-
|
|
808
|
-
height: 24,
|
|
809
|
-
className: "text-blue-400",
|
|
110
|
+
className: "h-6 w-6 text-fm-icon-active",
|
|
810
111
|
withAccessibility: true,
|
|
811
112
|
},
|
|
812
|
-
parameters: storyParameters,
|
|
813
113
|
render: (args) => (
|
|
814
|
-
<
|
|
114
|
+
<IconDefaultCanvas>
|
|
815
115
|
<CapitalALetterIcon {...args} />
|
|
816
|
-
</
|
|
116
|
+
</IconDefaultCanvas>
|
|
817
117
|
),
|
|
818
118
|
}
|
|
819
119
|
|
|
820
120
|
export const SizeVariations: Story = {
|
|
821
|
-
|
|
822
|
-
...storyParameters,
|
|
823
|
-
docs: {
|
|
824
|
-
description: {
|
|
825
|
-
story:
|
|
826
|
-
"CapitalALetterIcon in different sizes, from small UI elements to large displays.",
|
|
827
|
-
},
|
|
828
|
-
},
|
|
829
|
-
},
|
|
830
|
-
render: () => (
|
|
831
|
-
<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">
|
|
832
|
-
<div className="text-center">
|
|
833
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-3 w-3 text-blue-400" />
|
|
834
|
-
<span className="text-xs text-white/60">12px</span>
|
|
835
|
-
</div>
|
|
836
|
-
<div className="text-center">
|
|
837
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-4 w-4 text-blue-400" />
|
|
838
|
-
<span className="text-xs text-white/60">16px</span>
|
|
839
|
-
</div>
|
|
840
|
-
<div className="text-center">
|
|
841
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-5 w-5 text-blue-400" />
|
|
842
|
-
<span className="text-xs text-white/60">20px</span>
|
|
843
|
-
</div>
|
|
844
|
-
<div className="text-center">
|
|
845
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-6 w-6 text-blue-400" />
|
|
846
|
-
<span className="text-xs text-white/60">24px</span>
|
|
847
|
-
</div>
|
|
848
|
-
<div className="text-center">
|
|
849
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-8 w-8 text-blue-400" />
|
|
850
|
-
<span className="text-xs text-white/60">32px</span>
|
|
851
|
-
</div>
|
|
852
|
-
<div className="text-center">
|
|
853
|
-
<CapitalALetterIcon className="!mx-auto mb-2 h-12 w-12 text-blue-400" />
|
|
854
|
-
<span className="text-xs text-white/60">48px</span>
|
|
855
|
-
</div>
|
|
856
|
-
</div>
|
|
857
|
-
),
|
|
121
|
+
render: () => <IconSizeVariations icon={CapitalALetterIcon} />,
|
|
858
122
|
}
|
|
859
123
|
|
|
860
124
|
export const ColorVariations: Story = {
|
|
861
|
-
|
|
862
|
-
...storyParameters,
|
|
863
|
-
docs: {
|
|
864
|
-
description: {
|
|
865
|
-
story:
|
|
866
|
-
"CapitalALetterIcon in different theme colors for various UI contexts.",
|
|
867
|
-
},
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
render: () => (
|
|
871
|
-
<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">
|
|
872
|
-
<div className="text-center">
|
|
873
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-blue-500/30 bg-blue-500/20">
|
|
874
|
-
<CapitalALetterIcon className="h-8 w-8 text-blue-400" />
|
|
875
|
-
</div>
|
|
876
|
-
<div className="text-sm font-medium text-white">Primary</div>
|
|
877
|
-
<div className="text-xs text-blue-400">text-blue-400</div>
|
|
878
|
-
</div>
|
|
879
|
-
<div className="text-center">
|
|
880
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-purple-500/30 bg-purple-500/20">
|
|
881
|
-
<CapitalALetterIcon className="h-8 w-8 text-purple-400" />
|
|
882
|
-
</div>
|
|
883
|
-
<div className="text-sm font-medium text-white">Secondary</div>
|
|
884
|
-
<div className="text-xs text-purple-400">text-purple-400</div>
|
|
885
|
-
</div>
|
|
886
|
-
<div className="text-center">
|
|
887
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-cyan-500/30 bg-cyan-500/20">
|
|
888
|
-
<CapitalALetterIcon className="h-8 w-8 text-cyan-400" />
|
|
889
|
-
</div>
|
|
890
|
-
<div className="text-sm font-medium text-white">Accent</div>
|
|
891
|
-
<div className="text-xs text-cyan-400">text-cyan-400</div>
|
|
892
|
-
</div>
|
|
893
|
-
<div className="text-center">
|
|
894
|
-
<div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-gray-500/30 bg-gray-500/20">
|
|
895
|
-
<CapitalALetterIcon className="h-8 w-8 text-gray-400" />
|
|
896
|
-
</div>
|
|
897
|
-
<div className="text-sm font-medium text-white">Muted</div>
|
|
898
|
-
<div className="text-xs text-gray-400">text-gray-400</div>
|
|
899
|
-
</div>
|
|
900
|
-
</div>
|
|
901
|
-
),
|
|
125
|
+
render: () => <IconColorVariations icon={CapitalALetterIcon} />,
|
|
902
126
|
}
|
|
903
127
|
|
|
904
128
|
export const UsageExamples: Story = {
|
|
905
|
-
parameters: {
|
|
906
|
-
...storyParameters,
|
|
907
|
-
docs: {
|
|
908
|
-
description: {
|
|
909
|
-
story:
|
|
910
|
-
"Real-world usage examples showing CapitalALetterIcon in different typography contexts.",
|
|
911
|
-
},
|
|
912
|
-
},
|
|
913
|
-
},
|
|
914
129
|
render: () => (
|
|
915
|
-
<
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
<
|
|
921
|
-
<CapitalALetterIcon className="h-4 w-4" />
|
|
922
|
-
</button>
|
|
923
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-gray-400 hover:bg-gray-500/20">
|
|
924
|
-
<span className="text-sm font-bold">B</span>
|
|
925
|
-
</button>
|
|
926
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-gray-400 hover:bg-gray-500/20">
|
|
927
|
-
<span className="text-sm font-bold italic">I</span>
|
|
928
|
-
</button>
|
|
929
|
-
<button className="flex h-8 w-8 items-center justify-center rounded text-gray-400 hover:bg-gray-500/20">
|
|
930
|
-
<span className="text-sm font-bold underline">U</span>
|
|
931
|
-
</button>
|
|
130
|
+
<IconUsageCanvas>
|
|
131
|
+
<IconUsageSection title="Font Size Picker">
|
|
132
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-3 rounded-xl border px-4 py-2">
|
|
133
|
+
<CapitalALetterIcon className="text-fm-icon-inactive h-4 w-4" />
|
|
134
|
+
<div className="bg-fm-divider-secondary h-4 w-px" />
|
|
135
|
+
<CapitalALetterIcon className="text-fm-icon-active h-6 w-6" />
|
|
932
136
|
</div>
|
|
933
|
-
</
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
</div>
|
|
137
|
+
</IconUsageSection>
|
|
138
|
+
|
|
139
|
+
<IconUsageSection title="Text Formatting Toolbar">
|
|
140
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-1 rounded-xl border p-1">
|
|
141
|
+
{[CapitalALetterIcon, TextColorIcon, EditBigIcon, PencilIcon].map(
|
|
142
|
+
(Icon, i) => (
|
|
143
|
+
<button
|
|
144
|
+
key={i}
|
|
145
|
+
className={`flex h-8 w-8 items-center justify-center rounded-lg ${i === 0 ? "bg-fm-surface-primary" : ""}`}
|
|
146
|
+
>
|
|
147
|
+
<Icon
|
|
148
|
+
className={`h-4 w-4 ${i === 0 ? "text-fm-icon-active" : "text-fm-icon-inactive"}`}
|
|
149
|
+
/>
|
|
150
|
+
</button>
|
|
151
|
+
)
|
|
152
|
+
)}
|
|
950
153
|
</div>
|
|
951
|
-
</
|
|
154
|
+
</IconUsageSection>
|
|
952
155
|
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
<h3 className="text-sm font-medium text-white">
|
|
956
|
-
Alphabetical Navigation
|
|
957
|
-
</h3>
|
|
958
|
-
<div className="rounded-lg border border-white/10 bg-white/5 p-4">
|
|
156
|
+
<IconUsageSection title="Language Selector">
|
|
157
|
+
<div className="border-fm-divider-secondary bg-fm-surface-secondary flex w-full max-w-sm items-center justify-between rounded-xl border px-4 py-3">
|
|
959
158
|
<div className="flex items-center gap-2">
|
|
960
|
-
<
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
<span className="text-sm font-bold">B</span>
|
|
965
|
-
</button>
|
|
966
|
-
<button className="flex h-8 w-8 items-center justify-center rounded-full border border-white/20 bg-white/5 text-gray-400">
|
|
967
|
-
<span className="text-sm font-bold">C</span>
|
|
968
|
-
</button>
|
|
969
|
-
<span className="text-white/40">...</span>
|
|
159
|
+
<CapitalALetterIcon className="text-fm-icon-active h-5 w-5" />
|
|
160
|
+
<span className="text-fm-primary font-fm-text text-sm">
|
|
161
|
+
English
|
|
162
|
+
</span>
|
|
970
163
|
</div>
|
|
164
|
+
<span className="text-fm-secondary font-fm-text text-xs">
|
|
165
|
+
Default
|
|
166
|
+
</span>
|
|
971
167
|
</div>
|
|
972
|
-
</
|
|
973
|
-
</
|
|
168
|
+
</IconUsageSection>
|
|
169
|
+
</IconUsageCanvas>
|
|
974
170
|
),
|
|
975
171
|
}
|
|
976
172
|
|
|
977
173
|
export const Playground: Story = {
|
|
978
|
-
parameters: {
|
|
979
|
-
...storyParameters,
|
|
980
|
-
docs: {
|
|
981
|
-
description: {
|
|
982
|
-
story:
|
|
983
|
-
"Interactive playground to experiment with different CapitalALetterIcon configurations.",
|
|
984
|
-
},
|
|
985
|
-
},
|
|
986
|
-
},
|
|
987
174
|
args: {
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
className: "text-blue-400",
|
|
991
|
-
strokeWidth: 1.5,
|
|
175
|
+
className: "h-8 w-8 text-fm-icon-active",
|
|
176
|
+
withAccessibility: true,
|
|
992
177
|
},
|
|
993
178
|
render: (args) => (
|
|
994
|
-
<
|
|
995
|
-
<
|
|
996
|
-
|
|
997
|
-
</div>
|
|
998
|
-
</div>
|
|
179
|
+
<IconPlaygroundCanvas>
|
|
180
|
+
<CapitalALetterIcon {...args} />
|
|
181
|
+
</IconPlaygroundCanvas>
|
|
999
182
|
),
|
|
1000
183
|
}
|