# importing the npm package functions

Before using the `croffle-css,`you must learn to correctly import the npm package in your website's design.

{% hint style="info" %}
Croffle-css uses the last ES-module syntax. Use imports instead of `const { function } = require "croffle-css"`
{% endhint %}

### import a function from the utils module

<pre class="language-javascript"><code class="lang-javascript"><strong>import { function } from "croffle-css"
</strong></code></pre>

### use button classes

```javascript
import { class } from "croffle-css/style.css";
```
