mat-split-view/cdk-split-view component
See bertrandg/angular-split for inspiration.
In more complex applications, split views (allowing the user to resize the views) are a great way of handling users with different sized displays each viewing content of differing proportions. By giving the split views angular bindings, the component becomes incredibly flexible
There is at least one third party library offering some of this functionality (bertrandg/angular-split).
I think the material team could improve upon this foundation by ensuring mat-split-view "plays nice" with other material components, by ensuring it is accessible on multiple devices / screen readers, by ensuring split-views can respond to text direction changes, and by providing an elegant way of repositioning content for desktop screens vs mobile screens.
Even for applications that don't want users to be able to dynamically resize views, a well designed mat-split-view component could be an easy way for devs to layout content and interact with containers (including "opening" / "closing" views when a button is clicked).
This is probably a "cdk" component rather then "material" component. Not sure if this proposal should be placed somewhere else.
_Also: I enlarged the mouse-cursor icon for legibility_
Note: If/when this feature is implemented, it should be implemented in CDK and available in Material.
I'm looking forward to this feature. Horizontal/vertical splitter is commonly used on web apps nowadays
Most helpful comment
Note: If/when this feature is implemented, it should be implemented in CDK and available in Material.