Icons
Payload exports the icons used throughout the Admin Panel so custom UI can use the same visual language.
Import
Available icons
Icons inherit their color from the surrounding text. Their default dimensions vary according to where each icon is used in the Admin Panel; apply a shared class to the surrounding element when your layout requires a consistent size.
The client export includes:
CalendarIcon,CheckIcon,ChevronIcon,CloseMenuIcon, andCodeBlockIconCopyIcon,DocumentIcon,DragHandleIcon,EditIcon, andNewTabIconFolderIcon,GearIcon,GridViewIcon,LineIcon, andLinkIconListViewIcon,LogOutIcon,MinimizeMaximizeIcon,MoreIcon, andDotsMoveFolderIcon,PlusIcon,SearchIcon,SwapIcon, andXIconErrorIcon,InfoIcon,SuccessIcon,WarningIcon, andWarningTriangleIconfor notification statesArrowIcon,CirclePlusIcon,CircledXIcon,ClipboardIcon,DuplicateIcon, andEyeIconFilterIcon,KeyIcon,LockIcon,LockOpenIcon,PeopleIcon,RefreshIcon, andReplaceIconSortDownIcon,TagIcon,ThreeDotsIcon,TrashIcon,VariableColorIcon, andWriteIcon
Configurable icons
Most icons render without props. These exports expose additional options:
Component | Props | Description |
|---|---|---|
| | Sets its direction, preset size, label, or class. |
| | Sets its label, class, or 16/24-pixel preset size. |
| | Switches graphics and sets a preset size. |
| | Adds a custom class or 16/24-pixel preset size. |
| | Adds a custom class. |
| | Adds a custom class or 16/24-pixel preset size. |
| | Adds a custom class or 16/24-pixel preset size. |
| | Adds a custom class or 16/24-pixel preset size. |
| | Adds a custom class or 16/24-pixel preset size. |
Accessibility
- Treat an icon as decorative when adjacent text already describes the action.
- Give an icon-only button or link an accessible name on the interactive element.
- Do not use color alone to communicate a state or outcome.
The icons use SVG markup and require no Payload providers.
Was this page helpful?