Skip to main content

code

info

The following content is for [DocSearch v3][2]. If you are using [DocSearch v2][3], see the [legacy][4] documentation.

I need to highlight these very important words

That is so funny! 😂

💡 Tip: Remember to appreciate the little things in life

info

The following content is

Installation​

DocSearch packages are available on the [npm][10] registry.

yarn add @docsearch/js@3
# or
npm install @docsearch/js@3

### Without package manager

If you don't want to use a package manager, you can add the CSS to the `<head>` of your website:

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />

And the JavaScript at the end of your <body>:

<script src="https://cdn.jsdelivr.net/npm/@docsearch/js@3"></script>