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

1.6.4 • 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

/@cabezonidas/react-splitter/

    Package Sidebar

    Install

    npm i @cabezonidas/react-splitter

    Weekly Downloads

    4

    Version

    1.6.4

    License

    MIT

    Unpacked Size

    148 kB

    Total Files

    54

    Last publish

    Collaborators

    • cabezonidas