Skip to content

Repository files navigation

Neumorphism_Buttons

Installation :

Install using npm

npm i hmos-neumorphism

Note :

Add this css snippet when passing input or button through slot .

button,input{
width:100%;
height:100%;
background-color:transparent;
text-color: black;
}

Button

Import:

<elementname='neubutton' src='../../../../../../node_modules/hmos-neumorphism/button/button.hml'></element>

Usage:

<neubuttonicon="common/icons/heart.png" width="250px" height="60px" border="50px" onclick="buttonClick"><text>Button</text></neubutton>

Buttons

Import:

<elementname='neubuttons' src='../../../../../../node_modules/hmos-neumorphism/buttons/buttons.hml'></element>

Usage:

<neubuttonswidth="250px" height="60px" border="50px"><buttonslot="first">Left</button><buttonslot="second">Right</button></neubuttons>

Reference:

neumorphism.io

ismail9k.github.io/neomorphism

About

JS Lib

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages