bartaxyz / xyz-icon-set Goto Github PK
View Code? Open in Web Editor NEWFree & open-source set of icons!
Home Page: https://ondrejbarta.com/pet-projects/xyz-icon-set/
License: MIT License
Free & open-source set of icons!
Home Page: https://ondrejbarta.com/pet-projects/xyz-icon-set/
License: MIT License
API is described in #14.
This package will be used even by packages scoped inside of this one. Therefore it should have nice and expandable API. This issue will cover how will it look.
import XYZIconSet from 'xyz-icon-set';
/*
* [ iconName: string ]: Icon
* returns all icon names in dash-case format
*/
const paperPlane = XYZIconSet.PaperPlane;
paperPlane.name === 'paper-plane';
paperPlane.source === '<svg wid...';
Import just specific icon
import { PaperPlane } from 'xyz-icon-set';
/*
* Icon object
* {
* name: string,
* source: string,
* }
*/
PaperPlane.name === 'paper-plane';
PaperPlane.source === '<svg width="24" height="24"><path style="fill:#000" ...';
Implement the basic API design specification that is described inside #21.
I miss food icons like pizza, burger, beef, etc.
Developer with Vue must be able to use the Vue icon components as follows
import { PaperPlane } from '@xyz-icon-set/vue';
export default {
components: {
PaperPlaneIcon: PaperPlane,
}
}
and in template
<template>
<paper-plane-icon />
</template>
Icon natively uses currentColor
as fill. Can be specified manually.
<template>
<paper-plane-icon color="#F06262" />
</template>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.