GithubHelp home page GithubHelp logo

kodingdotninja / chakra-icons Goto Github PK

View Code? Open in Web Editor NEW
97.0 3.0 10.0 5.26 MB

Transform SVGs to React Chakra UI <Icon /> ✨

Home Page: https://chakra-icons.pages.dev

License: MIT License

JavaScript 53.96% Shell 0.40% TypeScript 45.64%
chakra-ui chakra-ui-react svg-generator generator reactjs icons typescript component-generator react-component react-library

chakra-icons's People

Contributors

codingki avatar dependabot[bot] avatar fzn0x avatar grikomsn avatar ibrahim4529 avatar kdnjbot avatar mupinnn avatar nagacoder avatar r17x avatar timonpeng 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

chakra-icons's Issues

[feature request] way to specify the type of output?

right now you can get output in the form of an arrow function (props) => <Icon...> or in the form of a call to createIcon({...}). However, you can't control (to my knowledge) which one you get. It would be nice to have an option or flag to force one or the other, if possible.

Thanks.

integration with vercel for deployment website

We have been add showcase web app in website directory.

I think we need to set custom command in Vercel.

  • build yarn build
  • and path to next in directory website

I have been set dns for domain https://chakra-icons to vercel dns

Thanks

[Bug] expected type of string but got null

Hi! Great project, but I have trouble converting some files.

Minimal reproduction

CLI:

> npx create-chakra-icons -o Icons.js ./check.svg

Property value expected type of string but got null
✖  Error building interactive interface

SVG:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 67 67">
  <g fill="none" stroke="#000">
    <path d="m18.951 33.437 9.95 9.951L48.36 23.929"/>
    <circle cx="33.5" cy="33.5" r="33.5" stroke="none"/>
    <circle cx="33.5" cy="33.5" r="33"/>
  </g>
</svg>

Env.: node v14.17.6 @ macOS 11.6

Thanks for your help!

Only adding new icons to the file?

Hi,
Is there an option to only add new items to the output file from create-chakra-icons not generate it from scratch every time?
I'm asking this because I have many icons and I'm wondering if I can skip commiting them in git.
If we have the option to only extend the output document, other team members will be able to add icons to the document without having the original svg of the previous icons.

changes snapshot.json to chakra-icons-lock.yaml

New features for @chakra-icon/cli ⚙️

  • snapshot.json to chakra-icons-lock.yaml
  • add commit hash from icons source in chakra-icons-lock.yaml
  • update script schedule (only schedule or update lockfile can be written new lockfile)

image

Offload search API route

Since we've moved to Cloudflare Pages, no need to work on this and wait for #429.

Current search API for the websites uses Next.js API routes, which cannot be used if deploy statically on Render static websites. Koding Ninja has Cloudflare Workers account ready. Offloading it there or even better, not using any external APIs would be great.

chakra-icons: not found (exit code 127)

First known at #24 (https://github.com/kodingdotninja/chakra-icons/runs/5040575945), chakra-icons binary via tooling/cli was not found.

After further investigation, the chakra-icons CLI is not being symlinked inside node_modules/.bin which we discovered at https://github.com/kodingdotninja/chakra-icons/runs/5042427766?check_suite_focus=true:

image

This is due to CLI dist file does not exist when yarn install attempts to symlink binary files, and only exist when running yarn build afterwards. Proposed solution is to stub the CLI file so that yarn install can symlink the binary and yarn build will replace it afterwards without needing to check symlinks (see #34).

Bug: Icon duplicate

There was an issue with Icon duplicate name, maybe add some filter for it?

unknown

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.