No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Tags
    3. icons
    Log in to post
    • D

      can't display my svg file in image icon
      Framework • icons image svg • • deer

      4
      0
      Votes
      4
      Posts
      1291
      Views

      dobbel

      @deer

      See here how to use a svg from static assets (public folder)
      https://quasar.dev/vue-components/icon#SVG-use-way

      <q-icon name="svguse:icons.svg#icon-1">
    • A

      Replace material icon with my own custom icon
      Help • css custom icon icons scss • • acros

      5
      0
      Votes
      5
      Posts
      873
      Views

      T

      @acros, as @Hawkeye64 mentioned - in my case it’s [ in App.vue ]

      created () { this.$q.iconMapFn = (iconName) => { if (iconName.startsWith('chevron_left') === true) { return { cls: 'fal fa-chevron-left' } } if (iconName.startsWith('chevron_right') === true) { return { cls: 'fal fa-chevron-right' } } } },
    • nothingismagick

      @quasar/icon-genie@1.0.0 released!
      Announcements • app-extensions icons • • nothingismagick

      5
      3
      Votes
      5
      Posts
      494
      Views

      jpsala

      thanks man! very grateful