Coder Social home page Coder Social logo

zanchitheo / neumorphism-react Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 1.0 2 MB

A Neumorphism component library for React applications

JavaScript 100.00%
react neumorphism neumorphism-ui neumorphic library component-library components styled-components

neumorphism-react's People

Contributors

theozanchiappstud 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

Watchers

 avatar  avatar

neumorphism-react's Issues

Setting props

Hi @ZanchiTheo

For all components, you should add style props to quickly fix minor things like padding and margins.

example:

<NeuTextInput padding={20} margin={} />
<NeuTextInput paddingBottom={20} marginTop={15} />

Add support for extra props to be passed down

So first of all, I love this library ! Its really great as it is easy to use and is the most flexible I have found so far as to the customizing options you offer, really great job !

Now, do you think you would be able to allow users to pass down other props (such as onClick, or onMouseEnter/Leave etc..) to your components or is there a specific reason you don't want to allow that ? Because it is making it very difficult to work with them as practical elements without wrapping them in HOCs, which is not very ideal to style..

Also, would it be possible to pass down the style prop so that we can overwrite some of the default style properties you set in place ? This would make it flexible to work with

One more thing, would it be possible to add support for height and width properties other than numbers (e.g.: min-content, percentages etc...) or would that break your code ? if so, I have seen that changing the width and height from the console after the fact seems to work just fine, so maybe allow us to overwrite the default and keep the properties the same?

In any case, thanks for the library and great job again !

Brilliant

Hi Zanchi, this is brilliant - excellent work on creating this library.
I tried few other neumorphic libraries but this one is good and easy to work with.

I strongly suggest you to post some medium, dev.io articles to spread the word.
The documentation MD files can be converted/hosted as github pages.


Just-my-2-cents

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.