> For the complete documentation index, see [llms.txt](https://seanwuapps.gitbook.io/soft-components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seanwuapps.gitbook.io/soft-components/public/md/getting-started.md).

# Getting Started

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

## Installation

### CDN

```markup
<link rel="stylesheet" href="//unpkg.com/soft-components@latest/dist/soft-components/soft-components.css" />
<script type="module" src="//unpkg.com/soft-components@latest/dist/soft-components/soft-components.esm.js"></script>
<script nomodule src="//unpkg.com/soft-components@latest/dist/soft-components/soft-components.js"></script>
```

### Install via npm

```bash
npm i soft-components
```

After installation you can import the css and the js files or reference them in your html

```javascript
import { applyPolyfills, defineCustomElements } from 'soft-components/dist/loader';
///...
applyPolyfills().then(() => {
  defineCustomElements(window);
});
```

## CSS framework integration

Soft components should work with most frameworks as all the styles are scoped within each component. All soft component CSS variables starts with `--sc-` to avoid collision. All CodePen demos you'll see will use Twitter Bootstrap's grid system.

## JS framework integration

[StencilJs](https://stenciljs.com/) provides a comprehensive [documentation](https://stenciljs.com/docs/overview) on how the web components can be integrated with popular JavaScript frameworks, they can be found here:

* [Angular](https://stenciljs.com/docs/angular)
* [React](https://stenciljs.com/docs/react)
* [Vue](https://stenciljs.com/docs/vue)
* [Ember](https://stenciljs.com/docs/ember)&#x20;
