{"id":22843337,"url":"https://github.com/milahu/solidjs-resizable-splitter-component","last_synced_at":"2025-04-28T13:43:54.661Z","repository":{"id":66258301,"uuid":"429015991","full_name":"milahu/solidjs-resizable-splitter-component","owner":"milahu","description":"resizable splitter component for SolidJS","archived":false,"fork":false,"pushed_at":"2024-06-12T07:48:02.000Z","size":130,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T10:11:17.145Z","etag":null,"topics":["component","layout","resizable","solid-js","solidjs","splitter"],"latest_commit_sha":null,"homepage":"https://milahu.github.io/solidjs-resizable-splitter-component/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milahu.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-17T11:19:41.000Z","updated_at":"2024-07-28T11:58:14.000Z","dependencies_parsed_at":"2023-02-21T09:00:27.633Z","dependency_job_id":null,"html_url":"https://github.com/milahu/solidjs-resizable-splitter-component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milahu%2Fsolidjs-resizable-splitter-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milahu%2Fsolidjs-resizable-splitter-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milahu%2Fsolidjs-resizable-splitter-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milahu%2Fsolidjs-resizable-splitter-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milahu","download_url":"https://codeload.github.com/milahu/solidjs-resizable-splitter-component/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251321505,"owners_count":21570752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","layout","resizable","solid-js","solidjs","splitter"],"created_at":"2024-12-13T02:14:23.938Z","updated_at":"2025-04-28T13:43:54.637Z","avatar_url":"https://github.com/milahu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# solidjs-resizable-splitter-component\n\nA component that allows splitting an area into multiple horizontal or vertical resizable panels.\n\n## Status\n\n:warning: deprecated in favor of\n\n- [solid-dockview](https://github.com/lyonbot/solid-dockview) - solidjs wrapper for [dockview](https://github.com/mathuo/dockview)\n  - [dockview](https://github.com/mathuo/dockview) - Layout Manager in javascript. tabs, groups, grids, splitviews\n- [split](https://github.com/nathancahill/split) - utilities for resizeable split views\n- [areas](https://github.com/bimdata/areas) - A Vue.js Blender style area manager to create custom layouts\n\n## Demo\n\nSee a [live demo](https://milahu.github.io/solidjs-resizable-splitter-component/).\n\nTo run the demo locally,\n\n```sh\nnpm install\nnpm run demo\n```\n\n## Install\n\nNot currently published to NPM, install from git for now by adding the following to your `dependencies` in `package.json`:\n\n```json\n\t\"dependencies\": {\n\t\t\"solidjs-resizable-splitter-component\": \"github:milahu/solidjs-resizable-splitter-component\"\n\t}\n```\n\nor run\n\n```sh\nnpm install \"solidjs-resizable-splitter-component@github:milahu/solidjs-resizable-splitter-component\"\n```\n\nIf you fork the repo, you can replace `milahu` with your own GitHub username to\ninstall the lib from your fork.\n\nNote that the source file is a `.jsx` file. If you import it in a Vite project,\nthat will be fine because Vite will know how to compile it, but otherwise you\nmay need to configure your tool (f.e. [Webpack](https://webpack.js.org/) with\n[Babel](https://babeljs.io/)) to compile JSX files in\n`node_modules/solidjs-resizable-splitter-component` because those files are not\nplain JavaScript.\n\n## Usage\n\nMake a split and resizeable layout by importing the `SlitX` and `SplitY`\ncomponents from the lib and using them in your markup:\n\n```jsx\nimport {SplitY, SplitX} from 'solidjs-resizable-splitter-component'\n\nexport function App(props) {\n\treturn (\n\t\t\u003cdiv style=\"width: 100%; height: 100%\"\u003e\n\t\t\t\u003cSplitY\u003e\n\t\t\t\t\u003cSplitX\u003e\n\t\t\t\t\t\u003cdiv\u003eY1 X1\u003c/div\u003e\n\t\t\t\t\t\u003cSplitY\u003e\n\t\t\t\t\t\t\u003cdiv\u003eY1 X2 Y1\u003c/div\u003e\n\t\t\t\t\t\t\u003cdiv\u003eY1 X2 Y2\u003c/div\u003e\n\t\t\t\t\t\t\u003cdiv\u003eY1 X2 Y3\u003c/div\u003e\n\t\t\t\t\t\u003c/SplitY\u003e\n\t\t\t\t\u003c/SplitX\u003e\n\t\t\t\t\u003cdiv\u003eY2\u003c/div\u003e\n\t\t\t\u003c/SplitY\u003e\n\t\t\u003c/div\u003e\n\t)\n}\n```\n\n## Related\n\n* based on https://github.com/milahu/svelte-layout-resizable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilahu%2Fsolidjs-resizable-splitter-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilahu%2Fsolidjs-resizable-splitter-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilahu%2Fsolidjs-resizable-splitter-component/lists"}