Splitter
import * as Splitter from '@dxos/react-ui/Splitter';A splitter puts panes side by side with a divider between them. With resizable, the user can drag the divider. In
a host narrower than collapseBelow, the splitter shows one pane at a time.
| Part | What it is |
|---|---|
Splitter.Root |
The root, which holds the panes |
Splitter.Panel |
One pane |
Splitter.ResizeTrigger |
The divider. It renders only when Splitter.Root is resizable |
Splitter.useContext |
A hook that returns which pane shows, for a Back button or a list that opens a detail |