1.0.0 • Published 3 years ago
neomorphicwebcomponents v1.0.0
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;
1.0.0
3 years ago