Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bluskript/solid-split-pane

Simple and minimal split pane component for Solid
https://github.com/bluskript/solid-split-pane

Last synced: 7 days ago
JSON representation

Simple and minimal split pane component for Solid

Awesome Lists containing this project

README

        

# solid-split-pane

Split pane component for Solid! Uses Split.Js under the hood. Takes all props that `split.js` takes, plus a `gutterClass`.

(Q) Why not `solid-split` or `solid-split-component`?

solid-split contains a custom split implementation that has much less features. `solid-split-component`'s internals seemed rather complicated for what
seems to be a simple problem. I just wanted to publish my solution, which is just a lightweight wrapper over Split.Js.

## Usage

```
npm i solid-split-pane
```

```jsx
import { SplitPane } from "solid-split-pane";

export const App = () => (




Container 1




Container 2




;
);
```

## Options

Any options that [Split.JS](https://split.js.org/#/) takes.
Gutter class is customizeable through a `gutterClass` prop!