Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

jQuery Mobile Icons

jQuery Mobile Icons

We can use icon classes in jQuery Mobile to and

Try it

in To add an icon to a button, you can use the data-icon attribute:

data-icon="refresh"

Refresh the page

Try it

We can use the data-icon attribute to add icons to navigation buttons:

data-icon="refresh"

Refresh the page

Try it

To add an icon to a list button, you can use the

  • data-icon attribute in :

  • data-icon="refresh"

    Click me

  • Try it

    Below we list all available icons provided by jQuery Mobile:

    Value
    action
    alert
    audio
    arrow-d-l
    arrow-d-r
    arrow-u-l
    arrow-u-r
    arrow-l
    arrow-r
    arrow-u
    arrow-d
    back
    bars
    bullets
    calendar
    camera
    carat-d
    carat-l
    carat-r
    carat-u
    check
    clock
    cloud
    comment
    delete
    edit
    eye
    forbidden
    forward
    gear
    grid
    heart
    home
    info
    location
    lock
    mail
    minus
    navigation
    phone
    power
    plus
    recycle
    refresh
    search
    shop
    star
    tag
    user
    video