Icons

Use icons with love, and moderation.

If you followed the integration guide, icons will be globally registered with a vk-icons prefix, eg. vk-icons-check, and we recommend to follow that convention for cross component compatibility. That way they will not conflict with other components plus will become easily recognizable.


Usage

As long as the icons are registered with the vk-icons prefix you can reference them by the name across the different components supporting them.

<vk-icons-check attrs>...</vk-icons-check>

You don't have to register all the icons, on the contrary it would be best to cherry pick the ones you need.

import Vue from 'vue'
import { IconCheck, IconClose } from '@vuikit/icons'

// register globally
Vue.component('VkIconsCheck', IconCheck)
Vue.component('VkIconsClose', IconClose)

// or locally
export default {
  components: {
    VkIconsCheck: IconCheck,
    VkIconsClose: IconClose
  }
} 

Note Check the Icon component to render the icons with inherit styles and other benefits.


Custom Icons

If you want to register your own collection of icons make sure those are functional components, returning a raw svg element and registered globally or locally as described above. That's important as the components supporting icons would expect that.

You can convert the svg files to Vue functional components on your own way, but you can also use the Vuikit Icons build process which will make the conversion for you.

Additionally, if using Webpack the Vuikit Icons loader will do the conversion on the fly. Pretty neat!


Library

Here is an overview of all currently available icons.

App

  • home
  • sign-in
  • sign-out
  • user
  • users
  • lock
  • unlock
  • settings
  • cog
  • nut
  • comment
  • commenting
  • comments
  • hashtag
  • tag
  • cart
  • credit-card
  • mail
  • receiver
  • search
  • location
  • bookmark
  • code
  • paint-bucket
  • camera
  • bell
  • bolt
  • star
  • heart
  • happy
  • lifesaver
  • rss
  • social
  • git-branch
  • git-fork
  • world
  • calendar
  • clock
  • history
  • future
  • pencil
  • trash
  • move
  • link
  • question
  • info
  • warning
  • image
  • thumbnails
  • table
  • list
  • menu
  • grid
  • more
  • more-vertical
  • plus
  • plus-circle
  • minus
  • minus-circle
  • close
  • check
  • ban
  • refresh
  • play
  • play-circle

Devices

  • tv
  • desktop
  • laptop
  • tablet
  • phone
  • tablet-landscape
  • phone-landscape

Storage

  • file
  • copy
  • file-edit
  • folder
  • album
  • push
  • pull
  • server
  • database
  • cloud-upload
  • cloud-download
  • download
  • upload

Direction

  • reply
  • forward
  • expand
  • shrink
  • arrow-up
  • arrow-down
  • arrow-left
  • arrow-right
  • chevron-up
  • chevron-down
  • chevron-left
  • chevron-right
  • triangle-up
  • triangle-down
  • triangle-left
  • triangle-right

Editor

  • bold
  • italic
  • strikethrough
  • video-camera
  • quote-right

Brands

  • 500px
  • behance
  • dribbble
  • facebook
  • flickr
  • foursquare
  • github
  • github-alt
  • gitter
  • google
  • google-plus
  • instagram
  • joomla
  • linkedin
  • pagekit
  • pinterest
  • soundcloud
  • tripadvisor
  • tumblr
  • twitter
  • uikit
  • vimeo
  • whatsapp
  • wordpress
  • xing
  • yelp
  • youtube