MCPcopy Index your code
hub / github.com/directus/vue-split-panel

github.com/directus/vue-split-panel @v0.8.13

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.13 ↗ · + Follow
30 symbols 103 edges 29 files 0 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Vue Split Panel

Splitter component based on the usage syntax of Reka UI but using the internal rendering logic of Web Awesome's Split Panel.

Installation

pnpm add @directus/vue-split-panel
<script lang="ts" setup>
import { SplitPanel } from "@directus/vue-split-panel";
import "@directus/vue-split-panel/index.css";
</script>

<template>
    <SplitPanel>
        <template #start> Panel A </template>

        <template #end> Panel B </template>
    </SplitPanel>
</template>

Usage

Please refer to the documentation for the full usage guide.

License

MIT

This project also incorporates third-party software licensed under the MIT License. See ATTRIBUTIONS.md for details.

Extension points exported contracts — how you extend this code

UiClasses (Interface)
(no doc)
src/types.ts
UseResizeOptions (Interface)
(no doc)
src/composables/use-resize.ts
SplitPanelProps (Interface)
(no doc)
src/types.ts
UsePointerOptions (Interface)
(no doc)
src/composables/use-pointer.ts
UseCollapseOptions (Interface)
(no doc)
src/composables/use-collapse.ts
UseKeyboardOptions (Interface)
(no doc)
src/composables/use-keyboard.ts
UseGridTemplateOptions (Interface)
(no doc)
src/composables/use-grid-template.ts

Core symbols most depended-on inside this repo

usePointer
called by 24
src/composables/use-pointer.ts
handleKeydown
called by 24
src/composables/use-keyboard.ts
useSizes
called by 24
src/composables/use-sizes.ts
useKeyboard
called by 19
src/composables/use-keyboard.ts
pixelsToPercentage
called by 18
src/utils/pixels-to-percentage.ts
useCollapse
called by 15
src/composables/use-collapse.ts
percentageToPixels
called by 13
src/utils/percentage-to-pixels.ts
closestNumber
called by 11
src/utils/closest-number.ts

Shape

Function 22
Interface 8

Languages

TypeScript100%

Modules by API surface

src/composables/use-collapse.ts5 symbols
src/composables/use-sizes.ts4 symbols
src/composables/use-resize.ts4 symbols
src/composables/use-pointer.ts3 symbols
src/composables/use-keyboard.ts3 symbols
src/types.ts2 symbols
src/composables/use-keyboard.test.ts2 symbols
src/composables/use-grid-template.ts2 symbols
src/utils/pixels-to-percentage.ts1 symbols
src/utils/percentage-to-pixels.ts1 symbols
src/utils/closest-number.ts1 symbols
src/composables/use-resize.test.ts1 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add vue-split-panel \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page