neomorphicwebcomponents
v1.0.0
Published
install package * npm ```sh npm i NeomorphicComponents ```
Downloads
2
Readme
NeomorphicWebComponents
A web component library for creating a neomorphic UI / UX
Getting Started
Prerequisites
install package
- npm
npm i NeomorphicComponents
Usage
vanilla js example
let dropDown = document.createElement("neo-dropdown");
dropDown.innerHTML= "gender";
dropDown.options = [{key:0,value:"male"},{key:1,value:"female"},{key:2,value:"other"}];
document.body.appendChild(dropDown)
react example
import {NeoInput} from 'NeomorphicComponents/lib/main'
function App() {
return (
<div className="App">
<neo-input></neo-input>
</div>
);
}
export default App;