Icons in Angular Button

22 Jul 202224 minutes to read

The Essential Studio for Angular provide icons library that contains the number of in-built icons that can be applied for CSS class names to elements and refer “ej.widgets.all.core.min.css” file. Use the following syntax to apply class names.

Syntax: .e-icon .e-[icon description]

  • HTML
  • .e-icon .e-search

    Adding icon in Button

    For example, you can render the desired icon in the button by using the following table that contains the listed icons CSS class names in the “prefixIcon” property of button component. Also, use “contentType” property to display the icon in the button. In the following code example, specify the “ContentType” of the button as imageonly.

    Also in the button sample, you can use the icon class names as follows,

  • HTML
  • <table>
        <tr>
            <td>
                <button id="buttonId" prefixIcon="e-icon e-handup" contentType="TextAndImage" type="button" ej-button text="button"></button>
        </tr>
        </table>

    Execute the above code to render the following output.

    Angular Button icons

    Icon library used in button component

    List of Icons

    The complete list of icons is listed in the following table.

    List of icons

    e-unpin Angular Button unpin
    e-pin Angular Button pin
    e-upload Angular Button upload
    e-reload Angular Button reload
    e-collapse Angular Button collapse
    e-cancel Angular Button cancel
    e-expand Angular Button expand
    e-minimize Angular Button minimize
    e-login Angular Button login
    e-orientationlanscape Angular Button orientation lanscape
    e-alignleft Angular Button align left
    e-aligncenter Angular Button align center
    e-alignright Angular Button align right
    e-alignjustify Angular Button align justify
    e-alignnone Angular Button alignnone
    e-filterset Angular Button filterset
    e-filternone Angular Button filter none
    e-arrowheadup-2x Angular Button arrow head up
    e-arrowheaddown-2x Angular Button arrow head down
    e-arrowheadleft-2x Angular Button arrow head left
    e-arrowheadright-2x Angular Button arrow head right
    e-numbering Angular Button numbering
    e-bullets Angular Button bullets
    e-maximize Angular Button maximize
    e-delete Angular Button delete
    e-scroll Angular Button scroll
    e-right-scroll Angular Button right scroll
    e-search Angular Button search
    e-mediaback Angular Button mediaback
    e-mediaforward Angular Button mediaforward
    e-medianext Angular Button medianext
    e-mediaprev Angular Button mediaprev
    e-mediaeject Angular Button mediaeject
    e-mediaclose Angular Button mediaclose
    e-mediapause Angular Button mediapause
    e-mediaplay Angular Button media play
    e-righttick Angular Button right tick
    e-smile Angular Button smile
    e-information Angular Button information
    e-left-arrow Angular Button left arrow
    e-right-arrow Angular Button right arrow
    e-file-delete Angular Button file delete
    e-file-percentage-success Angular Button file percentage success
    e-file-cancel Angular Button file cancel
    e-file-percentage-failed Angular Button file percentage failed
    e-file-retry Angular Button file retry
    e-resize-handle Angular Button resize handle
    e-down-arrow Angular Button down arrow
    e-time Angular Button time
    e-up-arrow Angular Button up arrow
    e-date Angular Button date
    e-datetime Angular Button datetime
    e-collapse-arrow Angular Button collapse arrow
    e-expand-arrow Angular Button expand arrow
    e-restore Angular Button restore
    e-plus Angular Button plus
    e-minus Angular Button minus
    e-handup Angular Button handup
    e-clock Angular Button clock
    e-cursor Angular Button cursor
    e-hyperlink Angular Button hyperlink
    e-hyperlinkbreak Angular Button hyperlink break
    e-settings Angular Button settings
    e-shoppingcart Angular Button shopping cart
    e-palette Angular Button palette
    e-warningmessage Angular Button warning message
    e-cut Angular Button cut
    e-copy Angular Button copy
    e-paste Angular Button paste
    e-edit Angular Button edit
    e-swapleft Angular Button swapleft
    e-swapright Angular Button swapright
    e-swapup Angular Button swapup
    e-swapdown Angular Button swapdown
    e-zoomin Angular Button zoomin
    e-zoomout Angular Button zoomout
    e-star Angular Button star
    e-home Angular Button home
    e-clipboard Angular Button clipboard
    e-userlogin Angular Button userlogin
    e-dataexport Angular Button dataexport
    e-arrowheadright Angular Button arrowheadright
    e-arrowheaddown Angular Button arrowheaddown
    e-undo Angular Button undo
    e-redo Angular Button e redo
    e-bold Angular Button e bold
    e-italic Angular Button e italic
    e-underline Angular Button e underline
    e-strikethrough Angular Button e strikethrough
    e-font Angular Button e font
    e-rarrowdown Angular Button e rarrowdown
    e-rarrowleft Angular Button e rarrowleft
    e-rarrowup Angular Button e rarrowup
    e-rarrowright Angular Button e rarrowdown
    e-calender Angular Button e calender
    e-save Angular Button e save