Last modified: August 22, 2025
Use the Icon component to render a visual icon within other components. It can generally be used inside most components, excluding ones that don’t support child components (e.g., the Input component does not support icons).
uie-components-icon-examples
import { Alert, Button, Flex, Icon, Text } from '@hubspot/ui-extensions';

const Extension = () => {
  return (
    <Flex direction="column" gap="small">
<Info>
<Icon name="download" /> Icon inside an Alert
</Info>
      <Button>
        <Icon name="download" /> Icon inside a button
      </Button>
      <Text>
        <Icon name="download" /> Icon with text
      </Text>
    </Flex>
  );
};
PropTypeDescription
name RequiredStringSets the icon to display. See all available icons.
size'small' | 'medium' | 'large'By default, the size of the icon is set automatically based on the parent component. If you need to override the default size, you can specify one to use instead.
screenReaderTextStringSets the text that screen readers will read for the icon.

Spacing

By default, spacing is not added around the icon. However, there may be times when you want more space between the icon and neighboring text. You can do this by manually adding a space to the text string, or by using &nbsp; or {" "} as shown below.
uie-components-icon-example-spacing
import { Alert, Flex, Icon, Tile, Text } from '@hubspot/ui-extensions';

const Extension = () => {
  return (
    <Flex direction="column" gap="small">
<Info>
<Icon name="warning" /> Icon inside an alert
</Info>
      <Tile>
        <Icon name="robot" /> Icon inside a tile
      </Tile>
      <Text>
        <Icon name="faceHappy" /> Icon with text
      </Text>
    </Flex>
  );
};

Guidelines

Always pair icons with text. If that’s not possible, include the screenReaderText prop to convey the icon’s meaning for users with screen readers.

Available icons

Below are the currently available icons and their name values.
add

add

appointment

appointment

approvals

approvals

attach

attach

bank

bank

block

block

book

book

bulb

bulb

calling

calling

callingHangup

callingHangup

callingMade

callingMade

callingMissed

callingMissed

callingVoicemail

callingVoicemail

campaigns

campaigns

cap

cap

clock

clock

comment

comment

contact

contact

copy

copy

dataSync

dataSync

date

date

delete

delete

downCarat

downCarat

download

download

edit

edit

email

email

enroll

enroll

exclamation

exclamation

facebook

facebook

faceHappy

faceHappy

faceHappyFilled

faceHappyFilled

faceNeutral

faceNeutral

faceNeutralFilled

faceNeutralFilled

faceSad

faceSad

faceSadFilled

faceSadFilled

file

file

filter

filter

gauge

gauge

generateChart

generateChart

gift

gift

globe

globe

goal

goal

googlePlus

googlePlus

flame

flame

hash

hash

home-1

home

image

image

imageGallery

imageGallery

inbox

inbox

insertVideo

insertVideo

instagram

instagram

invoice-1

invoice

key

key

left

left

lesson

lesson

link

link

linkedin

linkedin

listView

listView

location

location

locked

locked

mention

mention

messages

messages

mobile

mobile

notification

notification

notificationOff

notificationOff

objectAssociations

objectAssociations

objectAssociationsManyToMany

objectAssociationsManyToMany

objectAssociationsManyToOne

objectAssociationsManyToOne

office365

office365

order

order

paymentSubscriptions

paymentSubscriptions

pinterest

pinterest

powerPointFile

powerPointFile

presentation

presentation

product

product

publish

publish

question

question

questionAnswer

questionAnswer

quickbooks

quickbooks

quote

quote

readMore

readMore

readOnlyView

readOnlyView

realEstateListing

realEstateListing

recentlySelected

recentlySelected

record

record

redo

redo

refresh

refresh

registration

registration

remove

remove

replace

replace

reports

reports

right

right

robot

robot

rotate

rotate

rss

rss

salesQuote

salesQuote

salesQuote

salesTemplates

save

save

search

search

sequences

sequences

settings

settings

shoppingCart

shoppingCart

sortAlpAsc

sortAlpAsc

sortAlpDesc

sortAlpDesc

sortAmtAsc

sortAmtAsc

sortAmtDesc

sortAmtDesc

sortNumAsc

sortNumAsc

sortNumDesc

sortNumDesc

sortTableAsc

sortTableAsc

sortTableDesc

sortTableDesc

spellCheck

spellCheck

star

star

strike

strike

success

success

tablet

tablet

tag

tag

tasks

tasks

test

test

text

text

textColor

textColor

textDataType

textDataType

textSnippet-1

textSnippet

thumbsDown

thumbsDown

thumbsUp

thumbsUp

ticket

ticket

translate

translate

trophy

trophy

twitter

twitter

undo

undo

upCarat

upCarat

upload

upload

video

video

videoFile

videoFile

videoPlayerSubtitles

videoPlayerSubtitles

view

view

viewDetails

viewDetails

warning

warning

website

website

workflows

workflows

x

x

xing

xing

youtube

youtube

youtubePlay

youtubePlay

zoomIn

zoomIn

zoomOut

zoomOut