Jqueryscript iconJqueryscriptSep 28, 2026 ~2 min source read

Splitter: A Lightweight jQuery Plugin for Resizable Split Layouts

Splitter provides a minimal API to add draggable split bars (horizontal or vertical) to containers so users can resize panels without rebuilding layout logic.

Easy Split Layout Plugin For jQuery - Splitter

Share this story

Send the public story page.

Useful takeaways from this story.

Splitter installs via npm (npm install jquery.splitter --save) or by including its CSS and JS files alongside jQuery.

It supports horizontal and vertical splitters, percent or pixel sizing, visibility toggling, position limits, drag callbacks, and a small API for refresh, options, position and destroy.

The plugin page lists two different license notes: a site header that shows MIT and an in-text statement that names GNU Lesser General Public License v3.0.

Splitter is a compact jQuery plugin designed to add draggable split bars to containers so users can resize adjacent layout items. The feature set focuses on simple integration, common configuration options, and a small runtime API for control after initialization.

  • npm: npm install jquery.splitter --save
  • Or include files directly: add the CSS file (css/jquery.splitter.css), the jQuery library, and the plugin JS (js/jquery.splitter.js).
  • orientation: 'vertical' or default horizontal
  • position: accepts values like '50%' or pixel values to place the bar
  • invisible: true to hide the visible splitter bar
  • percent: false to use pixel-based sizing rather than percentages
  • onDragStart, onDrag, onDragEnd: callbacks (defaults are $.noop)

After calling split(), the plugin returns an object with methods you can call:

  • refresh(): reflows/rebuilds the splitter after DOM or size changes
  • position(number) or position([num1, num2,...]): getter/setter for positions
  • isActive: boolean that indicates whether the splitter is currently active
  • destroy(): remove the splitter instance and restore DOM

A short changelog is included on the plugin page. Notable entries show activity in 2024 (v0.30.0 and v0.29.1) and earlier fixes addressing horizontal splitters and multi-panel behavior in 2019 and 2018. The plugin's file size is listed as 47.6 KB on the hosting page, and the page shows multiple historical version updates.

The hosting page shows mixed license details. The top-of-page metadata lists License: MIT, while the plugin description in the main text states "Licensed under the GNU Lesser General Public License v3.0." If licensing is important for your project, verify the license on the plugin's official repository or website before using it in production.

  • You need a tiny, no-frills split-resize behavior for panel layouts in a jQuery project.
  • You want the ability to toggle visibility of the splitter and enforce edge limits.
  • You prefer a plugin with a simple API for position control and runtime option updates.

The hosting page links several related split/resizer plugins and tools for resizable panes, draggable splitters, and split views. If Splitter lacks a feature you need (like advanced touch behavior, accessibility enhancements, or framework integrations), check those related plugins or the demo page for more advanced usage.

The page provides a demo and a download link, plus an "Official Website" link. Use those to test behavior, see live demos, and confirm browser support and licensing details before integrating.

More context around this story.

Plan your 3D Prints with Bed Fit Splitter
Blendernation iconBlendernationSep 29, 2026

Plan your 3D Prints with Bed Fit Splitter

This add-on for Blender automatically breaks down large models into separate parts for 3D printing – complete with connections between them. Hanru Croucamp writes: Bed Fit Splitter is a new Blender add-on for 3D printing. You enter your printer’s bed size (or pick a preset) and it plans the cuts automatically: it split

Loading more related stories...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app