Getting started

To start using these neumorphism components, you will need to include 2 files, spoiler alert, it's the css and js files


There are a few ways you can get started with Soft Components:


<link rel="stylesheet" href="//" />
<script type="module" src="//"></script>

<!-- For IE only -->
<script nomodule src="//"></script>

Install via npm

npm i soft-components

JS framework integration

StencilJs provides a comprehensive documentation on how the web components can be integrated with popular JavaScript frameworks, they can be found here:

CSS framework integration

Soft components should work with most CSS frameworks as all the styles are scoped within each component. All soft component CSS variables starts with --sc- to avoid collision.

Edit this page