Giter VIP home page Giter VIP logo

tailwindcss-plugin-icons's People

Contributors

dependabot[bot] avatar jensdll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

anbreaker herbras

tailwindcss-plugin-icons's Issues

Prefix configuration

Can the plugin possibly add an option to configure the prefix i-?

Similar to the use case described in #8 (comment), the library would use bi-arrow internally in the components instead of i-bi-arrow.

Option to use all icons if location is provided

Thanks for this project!

Would it be possible to implement being able to use a whole collection if collectionName.location is provided and collectionName.icons doesn't need to be manually handled?

Additionally if the plugin offers a main CDN option like @unocss/preset-icons without needing to add separate locations for each collection or if this is planned?

Dynamic icons not showing up

Hey @JensDll,

first of all thanks a lot for the great plugin. Especially the latest feature of being able to include all icons of a set is super helpful. I'm using your plugin in one of my latest projects and came up with an issue related to dynamic classes. I want to display icons from the circle-flag package like this:

// Does not work
<span :class="`i-circle-flags-${language} w-4 h-4 block`" />

// Does work
<span :class="`i-circle-flags-en w-4 h-4 block`" />

In HTML it get's rendered correctly but it doesn't get displayed. When I do it statically it works well. Also it works if I create a separate page where I add all icons as static ones then also the dynamic ones get rendered. I'm not sure if it has something to do with your library or the Vue 3 Vitesse template setup I'm using.

Any help would highly appreciated, thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.