zanchitheo / neumorphism-react Goto Github PK
View Code? Open in Web Editor NEWA Neumorphism component library for React applications
A Neumorphism component library for React applications
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} />
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 !
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
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.