Getting Started

Getting Started

Getting Started

Everything you need to install and start using the library in under five minutes.

January 14, 2026

Written by Mira Okonkwo

Overview

This guide walks through the fastest way to get a working setup, whether you’re dropping in a single script tag or installing the package into an existing build pipeline. Pick the path that matches your project.

CDN

For static sites or quick prototypes, load the library directly from a CDN. No build step required — just add the script tag before your closing </body> tag.

HTMLindex.html
1<script src="https://cdn.docks.dev/latest/docks.min.js"></script>

Bundler

For projects using npm, yarn, or pnpm, install the package and import it directly into your code.

BashTerminal
1npm install @docks/core

Create a free website with Framer, the website builder loved by startups, designers and agencies.