Svelte Splitpanes

screenshot of Svelte Splitpanes
svelte
vite
scss

Overview:

Svelte-Splitpanes is a responsive component that provides resizable view panels with advanced features such as min/max boundaries, snap, expand on double click, fixed size, and right-to-left (RTL) support. It started as a port of vue-splitpanes and has become one of the best splitpane implementations for the Svelte ecosystem. The library is compatible with Sveltekit and Typescript and supports various browsers, including legacy ones like IE 11.

Features:

  • Support for dynamic horizontal and vertical splits
  • Defaults, min and max sizes for the splits
  • Support for multiple splits
  • Lifecycle events support
  • Customizable divider size and overlay (CSS)
  • Splitter pane pushing
  • RTL rendering with auto-detection
  • First splitter on/off
  • Pane toggle
  • Edge snapping
  • Programmatic resizing and two-way size binding
  • Programmatic panes add/remove
  • Programmatic panes reordering by Svelte keyed each blocks
  • Support for legacy browsers such as IE 11
  • Support for touch devices
  • Support for fixed splitters
  • Sveltekit & Typescript friendly

Summary:

Svelte-Splitpanes is a powerful and feature-rich library that provides a responsive and customizable splitpane component for Svelte applications. It offers a wide range of options for resizing and manipulating view panels, making it a valuable tool for creating complex layouts. With support for advanced features like edge snapping and RTL rendering, as well as compatibility with legacy browsers and touch devices, Svelte-Splitpanes is a versatile choice for developers working with Svelte.

svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

scss
SCSS

SCSS is a preprocessor scripting language that extends the capabilities of CSS by adding features such as variables, nesting, and mixins. It allows developers to write more efficient and maintainable CSS code, and helps to streamline the development process by reducing repetition and increasing reusability.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.