Skip to content

Commit 56b0a8e

Browse files
committed
create icon catalog
1 parent 2d4fa0e commit 56b0a8e

File tree

1 file changed

+97
-13
lines changed

1 file changed

+97
-13
lines changed

website/src/pages/internal/extras/Icons.mdx

Lines changed: 97 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,111 @@ import { SiPython, SiRuby, SiJavascript, SiTypescript } from "react-icons/si";
4848

4949
:::info try to stick to a single provider
5050

51-
The `react-icons` package will only bundle
51+
The `react-icons` package will only bundle
5252
icons that are used in the page, so size isn't an issue.
5353

5454
But for visual consistency, it might be a good idea to stick to a single provider.
5555

5656
:::
5757

58-
58+
import { PiWaveform, PiMagicWand, PiTreeStructure, PiDatabase } from "react-icons/pi";
59+
import { FiVideo } from "react-icons/fi";
60+
import { GrChatOption } from "react-icons/gr";
61+
import { LiaFaxSolid } from "react-icons/lia";
62+
import { FaRobot, FaServer, FaMagic, FaExchangeAlt, FaHome, FaCode, FaDesktop, FaPlug, FaBook, FaNewspaper, FaComments, FaIdBadge, FaMoneyCheck, FaProjectDiagram } from "react-icons/fa";
63+
import { MdOutlineTextsms, MdPayment, MdBolt, MdPhone, MdRocket, MdApps, MdPhonelinkSetup, MdHeadsetMic, MdCallSplit, MdWeb, MdCode, MdCloud, MdOutlineCode, MdAutoAwesome, MdDashboard, MdSafetyCheck, MdHelp, MdOutlineNumbers, MdExplore, MdWorkspacesFilled, MdAutoFixHigh } from "react-icons/md";
64+
import { TbClick, TbApi } from "react-icons/tb";
65+
import { LuCodeXml } from "react-icons/lu";
66+
import { AiIcon, ChatIcon, SmsIcon, VoiceIcon, FlowIcon, SwmlIcon, VideoIcon } from '@site/src/icons';
5967

6068
---
6169

62-
Custom SW icons
70+
## Custom SW icons
6371

64-
import { AiIcon, ChatIcon, SmsIcon, VoiceIcon, FlowIcon, SwmlIcon, VideoIcon } from '@site/src/icons';
72+
<div>
73+
<AiIcon size={48} color="#FF0000" />
74+
<ChatIcon size={48} color="#00FF00" />
75+
<SmsIcon size={48} color="#0000FF" />
76+
<VoiceIcon size={48} color="#FF00FF" />
77+
<FlowIcon size={48} color="#FFA500" />
78+
<SwmlIcon size={48} color="#800080" />
79+
<VideoIcon size={48} color="#008000" />
80+
</div>
81+
82+
---
6583

66-
<div>
67-
<AiIcon size={48} color="#FF0000" />
68-
<ChatIcon size={48} color="#00FF00" />
69-
<SmsIcon size={48} color="#0000FF" />
70-
<VoiceIcon size={48} color="#FF00FF" />
71-
<FlowIcon size={48} color="#FFA500" />
72-
<SwmlIcon size={48} color="#800080" />
73-
<VideoIcon size={48} color="#008000" />
74-
</div>
84+
## Icon Catalog
85+
86+
Reference of icons used across the documentation by product area.
87+
88+
### Homepage & Product Grid
89+
90+
- <PiWaveform size={24} /> Voice
91+
- <FiVideo size={24} /> Video
92+
- <GrChatOption size={24} /> Chat
93+
- <MdOutlineTextsms size={24} /> Messaging
94+
- <LiaFaxSolid size={24} /> Fax
95+
- <PiMagicWand size={24} /> AI
96+
97+
### Voice
98+
99+
- <MdPayment size={24} /> Buy phone number
100+
- <MdBolt size={24} /> Quickstart with AI
101+
- <MdPhone size={24} /> Phone calls
102+
- <MdRocket size={24} /> Migration
103+
- <MdApps size={24} /> Call Flow Builder
104+
- <MdPhonelinkSetup size={24} /> SIP trunking
105+
- <MdHeadsetMic size={24} /> Voice features
106+
- <MdCallSplit size={24} /> Call routing
107+
108+
### SDKs
109+
110+
- <FaRobot size={24} /> Agents SDK
111+
- <MdWeb size={24} /> Browser SDK
112+
- <FaServer size={24} /> Realtime SDK
113+
- <LuCodeXml size={24} /> Compatibility SDKs
114+
115+
### Tools & APIs
116+
117+
- <PiTreeStructure size={24} /> Call Flow Builder
118+
- <TbClick size={24} /> Click to Call
119+
- <MdOutlineCode size={24} /> SWML CLI
120+
- <FaMagic size={24} /> WireStarter
121+
- <TbApi size={24} /> REST APIs
122+
- <FaExchangeAlt size={24} /> Compatibility API
123+
124+
### Platform Dashboard
125+
126+
- <MdDashboard size={24} /> Dashboard
127+
- <FaIdBadge size={24} /> Account/Users
128+
- <MdSafetyCheck size={24} /> Security
129+
- <MdHelp size={24} /> Support
130+
- <FaMoneyCheck size={24} /> Billing
131+
- <MdOutlineNumbers size={24} /> Phone Numbers
132+
- <MdExplore size={24} /> Resources
133+
- <MdWorkspacesFilled size={24} /> Workspaces
134+
135+
### AI & Advanced Features
136+
137+
- <FaRobot size={24} /> AI Agents
138+
- <PiMagicWand size={24} /> SWAIG
139+
- <PiDatabase size={24} /> Datasphere/RAG
140+
- <MdAutoAwesome size={24} /> AI capabilities
141+
142+
### Product Modal (Proposed Update for Alignment)
143+
144+
**Current icons:**
145+
- FaHome, FaCode, FaRobot, FaDesktop, FaServer, FaPlug, FaExchangeAlt, FaProjectDiagram, FaBook, FaNewspaper, FaComments
146+
147+
**Proposed aligned icons:**
148+
- <FaHome size={24} /> Home (keep - no equivalent elsewhere)
149+
- <MdCode size={24} /> SWML (changed from FaCode - matches Tools section)
150+
- <FaRobot size={24} /> Agents SDK (keep - consistent)
151+
- <MdWeb size={24} /> Browser SDK (changed from FaDesktop - matches SDKs section)
152+
- <FaServer size={24} /> Realtime SDK (keep - consistent)
153+
- <TbApi size={24} /> REST APIs (changed from FaPlug - matches Tools section)
154+
- <FaExchangeAlt size={24} /> Compatibility API (keep - matches Tools section)
155+
- <PiTreeStructure size={24} /> Call Flow Builder (changed from FaProjectDiagram - matches Tools section)
156+
- <FaBook size={24} /> Guides & Tutorials (keep - consistent)
157+
- <FaNewspaper size={24} /> Blog (keep - consistent)
158+
- <FaComments size={24} /> Community Forum (keep - consistent)

0 commit comments

Comments
 (0)