# LibTmux.Creation.SplitDirection

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L98
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-creation-t-splitdirection/

```haskell
data SplitDirection
```

Orientation of the two resulting panes. [`before`](/en/haskell/latest/reference/libtmux-creation-v-splitoptions-before/) chooses the left or top
 side for the new pane; otherwise it appears right or below the anchor.

## Instances

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`SplitDirection`](/en/haskell/latest/reference/libtmux-creation-t-splitdirection/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L99))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`SplitDirection`](/en/haskell/latest/reference/libtmux-creation-t-splitdirection/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/72edb54317bf619c6dc54bff311844f062f8984c/src/LibTmux/Creation.hs#L99))

## Members

### Common operations

- [`LeftRight`](/en/haskell/latest/reference/libtmux-creation-v-leftright/) (data constructor)
- [`TopBottom`](/en/haskell/latest/reference/libtmux-creation-v-topbottom/) (data constructor)

## Referenced declarations

- [`LibTmux.Creation.SplitDirection`](/en/haskell/latest/reference/libtmux-creation-t-splitdirection/) (data type)
