@cabezonidas/react-splitter
TypeScript icon, indicating that this package has built-in type declarations

1.5.3 • Public • Published

react-splitter

GitHub Netlify Status Storybook

Splitter container for React apps

<div /> component that appends a resizable separator between its children. It accepts keyboard interaction, and can be branded.

Note: The separator is appended as long as the <Splitter /> component has 2 child HTML element nodes.

Open examples on CodeSandbox

// Include stylesheet in your application
import "@cabezonidas/react-splitter/index.css";

export const Example = () => {
  return (
    // Render 2 children HTML elements
    <Splitter className="some-class">
      <section />
      <section />
    </Splitter>
  )
}

Resources

Horizontal

Horizontal

Vertical

Vertical

Custom navbar

Navbar

Package Sidebar

Install

npm i @cabezonidas/react-splitter

Weekly Downloads

550

Version

1.5.3

License

MIT

Unpacked Size

149 kB

Total Files

54

Last publish

Collaborators

  • cabezonidas