# @visx/pattern
Inspired by: http://riccardoscalco.github.io/textures/
## Example
```js
import { AreaClosed } from '@visx/shape';
import { PatternLines } from '@visx/pattern';
const PatternArea = () => {
return (
);
};
```
## The Definition Caveat
Like gradients, patterns are "defined." When you put down a ``, it's putting a
[``](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Patterns) attribute in the
SVG.
It's often better to think of these as variable definitions rather than true DOM elements. When you
use `fill="url('#pattern')"` you're referencing the pattern's id: `pattern`.
## Pre-Made Patterns
### `PatternsCircles`

```js
```
### `PatternsHexagons`

```js
```
### `PatternsLines`

```js
```
### `PatternsWaves`

```js
```
## Installation
```
npm install --save @visx/pattern
```