2024-01-05 12:14:38 +00:00
|
|
|
|
# @docsearch/css
|
|
|
|
|
|
|
|
|
|
|
|
Style package for [DocSearch](http://docsearch.algolia.com/), the best search experience for docs.
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-02-16 13:45:45 +00:00
|
|
|
|
yarn add @docsearch/css@4
|
2024-01-05 12:14:38 +00:00
|
|
|
|
# or
|
2026-02-16 13:45:45 +00:00
|
|
|
|
npm install @docsearch/css@4
|
2024-01-05 12:14:38 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
If you don’t want to use a package manager, you can use a standalone endpoint:
|
|
|
|
|
|
|
|
|
|
|
|
```html
|
2026-02-16 13:45:45 +00:00
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/@docsearch/css@4"></script>
|
2024-01-05 12:14:38 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Get started
|
|
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
|
import '@docsearch/css';
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Documentation
|
|
|
|
|
|
|
|
|
|
|
|
[Read documentation →](https://docsearch.algolia.com/docs/styling)
|