Code Monkey home page Code Monkey logo

tabler-icons-svelte-with-tailwindcss's Introduction

⚠️ This package has not been updated and is deprecated ⚠️

An official svelte package has been created.

Please use @tabler/icons-svelte.


This library is a fork project of tabler-icons-svelte

This library provides components that export class attributes for TailwindCSS users.

tabler-icons-svelte-with-tailwindcss

A library of Svelte components for Tabler Icons.

A set of 3018 free MIT-licensed high-quality SVG icons for you to use in your web projects. Each icon is designed on a 24x24 grid and a 2px stroke.

Installation

# npm
npm install -D tabler-icons-svelte-with-tailwindcss

tabler-icons-svelte-with-tailwindcss needs to be added as a dev dependency as Svelte requires original component source

Usage

Import components inside of the <script> and use like any other Svelte component.

Find icons:

Import Components From Package

The easiest way to use the icon components is by importing them from the package.

<script>
    import { CurrencyBitcoin, BrandGithub, CircleX } from "tabler-icons-svelte-with-tailwindcss";
</script>

<CurrencyBitcoin />
<BrandGithub />
<CircleX />

Props

The components each accept only 1 props:

Prop Default
class "h-6 w-6 stroke-current stroke-2"

License

MIT

tabler-icons-svelte-with-tailwindcss's People

Contributors

benflap avatar benmccann avatar codecalm avatar naokim03 avatar

Stargazers

 avatar

Watchers

 avatar

tabler-icons-svelte-with-tailwindcss's Issues

One icon is not generated.

  • hexagons
  • hexagon-s

When processing the above icons, the file name conflicts and the latter is not generated.

I think I can work around the problem by using underscore when generating file names.

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.