Edit in GitHubLog an issue

sp-icon

Since: UXP v4.1

Display a named icon.

Icons

See:

Example

Copied to your clipboard
<sp-icon name="ui:Magnifier"></sp-icon>

Sizes

Icons can be rendered in various sizes by specifying a T-Shirt size with a size attribute.

Copied to your clipboard
<sp-icon size="xxs" name="ui:Magnifier"></sp-icon>
<sp-icon size="xs" name="ui:Magnifier"></sp-icon>
<sp-icon size="s" name="ui:Magnifier"></sp-icon>
<sp-icon size="m" name="ui:Magnifier"></sp-icon>
<sp-icon size="l" name="ui:Magnifier"></sp-icon>
<sp-icon size="xl" name="ui:Magnifier"></sp-icon>
<sp-icon size="xxl" name="ui:Magnifier"></sp-icon>

Built-in Icons

Spectrum UXP supplies the Spectrum UI icons. They are named as follows:

  • AlertMedium
  • AlertSmall
  • ArrowDownSmall
  • ArrowLeftMedium
  • ArrowUpSmall
  • Asterisk
  • CheckmarkMedium
  • CheckmarkSmall
  • ChevronDownMedium
  • ChevronDownSmall
  • ChevronLeftLarge
  • ChevronLeftMedium
  • ChevronRightLarge
  • ChevronRightMedium
  • ChevronRightSmall
  • ChevronUpSmall
  • CornerTriangle
  • CrossLarge
  • CrossMedium
  • CrossSmall
  • DashSmall
  • DoubleGripper
  • FolderBreadcrumb
  • HelpMedium
  • HelpSmall
  • InfoMedium
  • InfoSmall
  • Magnifier
  • More
  • SkipLeft
  • SkipRight
  • Star
  • StarOutline
  • SuccessMedium
  • SuccessSmall
  • TripleGripper
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.