# Primer Behaviors

[![npm](https://img.shields.io/npm/v/@primer/behaviors)](https://www.npmjs.com/package/@primer/behaviors)
[![CI](https://github.com/primer/behaviors/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/primer/behaviors/actions/workflows/ci.yml)

Shared behaviors for JavaScript components

## Documentation

* [Anchored Position](/docs/anchored-position.md)
* [Focus Trap](/docs/focus-trap.md)
* [Focus Zone](/docs/focus-zone.md)
* [Scroll Into View](/docs/scroll-into-view.md)

## Installation

```bash
npm install @primer/behaviors
```

or 

```bash
yarn add @primer/behaviors
```
