ismail9k/neomorphism

Write an example in README file ?

Closed this issue ยท 2 comments

Hi Ismail,

I would like to use your library but I don't know how to import a component ๐Ÿ˜…๏ธ.
I'm not familiar with stylus and the docs don't seems really (and above all quickly) helpful.

Could you write an example like import a button in react project maybe ?

Thank you and nice job by the way !

Hi @calag4n,

I am really glad that you liked my library ๐Ÿ˜„๐Ÿ˜„. I plan to expose it as React components until then you can use the lib as an ordinary framework.

  • Install the npm package
npm i neomorphism
  • Import styles file
import 'neomorphism';
  • Use the library HTML markup
function App() {
  return (
    <div className="App">
      <button class="button is-md">Standard</button>
    </div>
  );
}

Oh, I see.
It's pretty cool, thanks โœŒ๏ธ.