Giter Site home page Giter Site logo

Comments (9)

cyberalien avatar cyberalien commented on September 1, 2024 5

I have something you might be interested in: open source SVG framework. It works similar to glyph fonts, but renders SVG and downloads only icons used on pages.

Iconify repository: https://github.com/iconify-design/
It supports your amazing icons set: https://iconify.design/icon-sets/ant-design/

That makes it easy to use your icons set on pages without generating fonts. For example, to use bell-outline icon from Ant Design all designer has to do is add Iconify script:

<script src="https://code.iconify.design/1/1.0.0-rc7/iconify.min.js"></script>

then add ant-design:bell-outline icon to page as span:

<span class="iconify" data-icon="ant-design:bell-outline"></span>

It can be used with anything that uses HTML: usual HTML pages, React applications, Angular applications. It is very easy to use, it is light and fast.

Due to complexity of representing two tone icons (color is passed as currentColor, which is not possible with 2 tone icons, adding custom classes would require custom stylesheet, but framework is unified for many icon sets so custom css is not an option), only monotone icons are included: fill and outline. Fill icons use same name as in this repository, outline icons have -outline suffix.

edit: updated code

from ant-design-icons.

B3nnyL avatar B3nnyL commented on September 1, 2024 3

I'd like to help Vue component

from ant-design-icons.

tangjinzhou avatar tangjinzhou commented on September 1, 2024 2

@B3nnyL I will submit a version 1.0 first, you can optimize it.

from ant-design-icons.

wzhudev avatar wzhudev commented on September 1, 2024 1

Working on this for Angular.

from ant-design-icons.

B3nnyL avatar B3nnyL commented on September 1, 2024 1

@tangjinzhou In progress. I'll update by the end of this week.

from ant-design-icons.

vthinkxie avatar vthinkxie commented on September 1, 2024

👏

from ant-design-icons.

HeskeyBaozi avatar HeskeyBaozi commented on September 1, 2024

Adapters

We need helps from the community.

适配器的功能是将图标的SVG结构抽象树转换成对应框架的组件(或模块)。

Library and Framework

React

Angular

  • Angular Module

Vue

  • Vue Component

from ant-design-icons.

tangjinzhou avatar tangjinzhou commented on September 1, 2024

@B3nnyL Already developing?

from ant-design-icons.

B3nnyL avatar B3nnyL commented on September 1, 2024

Sorry @tangjinzhou, my schedule is completely full this month, I'm not able to complete the plugin in two weeks, just FYI. I don't want to break your release schedule.
I'll keep working on it, which could be as an alternative svg icon library for AntDesign community.

from ant-design-icons.

Related Issues (20)

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.