## [@sps-woodland/modal](https://github.com/SPSCommerce/woodland/tree/master/packages/@sps-woodland/modal#readme)

SPS Woodland Design System `useModal` hook and modal component.

> **Heads up — this is a wrapper package.** The component source now lives in
> [`@sps-woodland/core`](../core). This package re-exports from core so existing
> imports keep working, but new code should prefer the core paths.

### Preferred imports (core)

```ts
import { Modal, ModalFooter, useModal } from "@sps-woodland/core/modal";
// or, if you only need the footer:
import { ModalFooter } from "@sps-woodland/core/modal-footer";

import "@sps-woodland/core/modal/style.css";
```

`Modal` itself is barrel-only (because the family name and the parent
component share a name). `ModalFooter` also has its own flat subpath.

### Legacy imports (still supported)

```ts
import { Modal, ModalFooter, useModal } from "@sps-woodland/modal";
import "@sps-woodland/modal/style.css";
```
