@gfazioli/mantine-split-pane v2.2.0
Mantine Split pane Component
https://github.com/user-attachments/assets/2e45af2b-60c7-4cb3-9b9a-6cf0e710af1c
Overview
This component is created on top of the Mantine library.
Utilizing Mantine UI, enables users to create a flexible layout with resizable split panes. It supports both vertical and horizontal splitting, allowing the arrangement of content in various configurations. The component seamlessly handles nested split panes, enabling complex layouts with ease. With intuitive resizing functionality, users can adjust the size of each pane effortlessly. This component provides a responsive and user-friendly interface for organizing and displaying content in a way that best suits the application's needs.
š You can find more components on the Mantine Extensions Hub library.
Installation
npm install @gfazioli/mantine-split-paneor
yarn add @gfazioli/mantine-split-paneAfter installation import package styles at the root of your application:
import '@gfazioli/mantine-split-pane/styles.css';Usage
import { Split } from '@gfazioli/mantine-split-pane';
import { Paper } from '@mantine/core';
function Demo() {
return (
<Split>
<Split.Pane>
<Paper withBorder w="100%" mih="100%">
<h1>Pane 1</h1>
</Paper>
</Split.Pane>
<Split.Resizer />
<Split.Pane>
<Paper withBorder>
<h1>Pane 2</h1>
</Paper>
</Split.Pane>
</Split>
);
}10 months ago
11 months ago
10 months ago
11 months ago
12 months ago
8 months ago
9 months ago
9 months ago
9 months ago
10 months ago
11 months ago
10 months ago
11 months ago
6 months ago
6 months ago
7 months ago
7 months ago
7 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago