Re:Elemental UI for React.js
by philliphaydon on Monday August 24, 2015 @07:04AM
(#10108957)
Is this component based. Where I could pick the modal without all the forms. Or form elements without all the grid system. I'm dying for a pick what you need framework rather than all or nothing like everything else out there.
[ Parent
| on HN ]
Re:Elemental UI for React.js
by jed_watson on Monday August 24, 2015 @07:31AM
(#10109023)
Not sure if you saw my other comment below but this is a major goal for us with Elemental. We're not there today, because we're working through the best way to componentize the CSS for each module while retaining a common base for variables & customisation (i.e themes).
The most likely outcome will be to go with the "css in components" approach (w/ Radium, I expect) and maybe a base / "foundational" optional stylesheet for typography / etc. Still working it out though - all today's viable approaches have lots of pros and cons.
You might like to look at how reapp [1] has achieved this.
It has default styles baked into each component, allows granular overriding of styles at a component level, as well as global theme support.
Re:Elemental UI for React.js
by philliphaydon on Monday August 24, 2015 @09:36PM
(#10113961)
Sounds good. I don't mind having to have some base or foundation file as long as the components can be picked.
I'm working on a project at the moment where I just want form elements :( but doing them myself because everything else is all of nothing.