Icons
One house icon set: line glyphs with a 1.5px line at every size, and solid glyphs for transport controls only. Every icon takes one of four sizes and one door.
Sizes
Four sizes, never a number. Every line glyph draws a 1.5px line at every size.
- xs · 12
- sm · 16
- md · 20
- lg · 24
The dashed box is the glyph's box, 4px outside it on every side.
Code
TSX
import { PinIcon } from "@repo/ui/icons";
<PinIcon />
<PinIcon size="md" />Every icon
| Export | Glyph · usual size | Used by | Glyph and use |
|---|---|---|---|
| PinIcon | IconMapPin · sm | join-form.tsx, location-chip.tsx, use-phone-chip.tsx | IconMapPin · sm join-form.tsx, location-chip.tsx, use-phone-chip.tsx |
| GlobeIcon | IconGlobe · sm | header-popup-triggers.tsx, language-menu.tsx, site-footer-locales.tsx | IconGlobe · sm header-popup-triggers.tsx, language-menu.tsx, site-footer-locales.tsx |
| ChevronDownIcon | IconChevronBottom · xs | header-popups.tsx, join-form.tsx, language-menu.tsx, location-chip.tsx, site-footer-locales.tsx, use-phone-chip.tsx | IconChevronBottom · xs header-popups.tsx, join-form.tsx, language-menu.tsx, location-chip.tsx, site-footer-locales.tsx, use-phone-chip.tsx |
| PaperclipIcon | IconPaperclip1 · md | ask-box.tsx, attach-soon.tsx | IconPaperclip1 · md ask-box.tsx, attach-soon.tsx |
| MicIcon | IconMicrophone · md | ask-box.tsx | IconMicrophone · md ask-box.tsx |
| ArrowUpIcon | IconArrowUp · md | ask-box.tsx | IconArrowUp · md ask-box.tsx |
| LockIcon | IconLock · sm | ask-box.tsx | IconLock · sm ask-box.tsx |
| PauseIcon | IconPause · sm · solid | stepper.tsx | IconPause · sm · solid stepper.tsx |
| PlayIcon | IconPlay · sm · solid | stepper.tsx | IconPlay · sm · solid stepper.tsx |
| StopIcon | IconStop · md · solid | ask-box.tsx | IconStop · md · solid ask-box.tsx |
| MenuIcon | IconBarsTwo · md | header-popup-triggers.tsx, header-popups.tsx | IconBarsTwo · md header-popup-triggers.tsx, header-popups.tsx |
| CloseIcon | IconCrossMedium · md | header-popups.tsx, language-menu.tsx, voice-controls.tsx | IconCrossMedium · md header-popups.tsx, language-menu.tsx, voice-controls.tsx |
| SearchIcon | IconMagnifyingGlass · sm | DocsLayout.astro, docs-sidebar.tsx, language-menu.tsx | IconMagnifyingGlass · sm DocsLayout.astro, docs-sidebar.tsx, language-menu.tsx |
| CheckIcon | IconCheckmark1 · sm | header-popups.tsx, join-form.tsx, join-page.tsx, language-menu.tsx | IconCheckmark1 · sm header-popups.tsx, join-form.tsx, join-page.tsx, language-menu.tsx |
| FileIcon | IconFileText · sm | ask-box.tsx | IconFileText · sm ask-box.tsx |
| WarningIcon | IconExclamationTriangle · sm | ask-box.tsx | IconExclamationTriangle · sm ask-box.tsx |
| UploadIcon | IconShareOs · sm | ask-box.tsx | IconShareOs · sm ask-box.tsx |
| PlusIcon | IconPlusSmall · md | join-page.tsx | IconPlusSmall · md join-page.tsx |
| MinusIcon | IconMinusSmall · md | join-page.tsx | IconMinusSmall · md join-page.tsx |
| ArrowUpRightIcon | IconArrowUpRight · md | docs-sidebar.tsx, site-footer.tsx | IconArrowUpRight · md docs-sidebar.tsx, site-footer.tsx |
| InstagramIcon | IconInstagram · md | site-footer.tsx | IconInstagram · md site-footer.tsx |
| LinkedInIcon | IconLinkedin · md | site-footer.tsx | IconLinkedin · md site-footer.tsx |
| TikTokIcon | IconTiktok · md | site-footer.tsx | IconTiktok · md site-footer.tsx |
| XIcon | IconX · md | site-footer.tsx | IconX · md site-footer.tsx |
| YouTubeIcon | IconYoutube · md | site-footer.tsx | IconYoutube · md site-footer.tsx |
| PersonIcon | IconUser · sm | app-sidebar.tsx | IconUser · sm app-sidebar.tsx |
| SignOutIcon | IconDoor · sm | app-sidebar.tsx | IconDoor · sm app-sidebar.tsx |
| SunIcon | IconSun · sm | theme-switch.tsx | IconSun · sm theme-switch.tsx |
| MoonIcon | IconMoon · sm | theme-switch.tsx | IconMoon · sm theme-switch.tsx |
| DeviceIcon | IconDevices · sm | theme-switch.tsx | IconDevices · sm theme-switch.tsx |
| InfoIcon | IconCircleInfo · md | intake-conversation.tsx | IconCircleInfo · md intake-conversation.tsx |
| MailIcon | IconEmail2 · md | join-form.tsx, join-token-page.tsx | IconEmail2 · md join-form.tsx, join-token-page.tsx |
Their own doors
InfoIcon
packages/ui/src/components/info-icon.tsx
/ask uses no other icon, and importing icons.tsx would bring every homepage glyph with it (+13,536 bytes of script on /ask, over the budgets in decision 0028). It writes out the md size itself and icons.test.ts holds it to the scale.
MailIcon
packages/ui/src/components/mail-icon.tsx
Only Join's form and link pages draw it. Imported from icons.tsx, its glyph landed in the homepage's shared chunk; the move saved about 0.4 KB of script on /.
Use it well
A licensed house icon set, installed from the registry at build time with a licence key in the environment and never copied into the repository.
icons.tsx is the only door for the house set; each export is a function, not a value from a factory call, so the bundler can drop unused glyphs.
Icons take size xs, sm, md or lg, never a number. An icon that needs another size adds a step to ICON_PX.
Every line glyph draws a 1.5px line at every size (icons.css), so the set reads as one weight.
Solid glyphs are for transport controls only: play, pause and stop.
Icons draw in currentColor, are aria-hidden, and are decorative: the control that holds one carries the accessible name.
Every icon is shrink-0, so a long label cannot squash it. A caller's className goes through cn and wins over the size variant.
No glyph is copied into the repository; a new icon is a new export in icons.tsx with a glyph from the outlined package.
A route that uses no other icon takes its glyph through its own door file rather than icons.tsx.