Soft-UI Library is a Collection of UI Elements implementing a neumorphic design pattern with light/dark mode toggle.
Copy the css here in your project and you're good to go 👍
npm install soft-ui-library
# OR
yarn add soft-ui-library
And import the content of the directory below to your project //Using A JS Library (React,Vue,...) import "soft-ui-library/dist/css/neumorphism-ui.css"
<!--Pure Html--> <link rel="stylesheet" href="node_modules/soft-ui-library/dist/css/neumorphism-ui.css"/>
Make sure to add the class "light-mode" or "dark-mode" to the body of your html. This will load the necessary css classes and apply a reset to your html.
<div class="sul-box-raised-1 with-hover">
sul-box-raised-1 with-hover
</div>
<div class="sul-box-raised-2 with-hover">
sul-box-raised-2 with-hover
</div>
<div class="sul-box-raised-3 with-hover">
sul-box-raised-3 with-hover
</div>
<div class="sul-box-inset-1 with-hover">
sul-box-inset-1 with-hover
</div>