Installation and movement of elements

37 Views Asked by At

How to implement moving and installing an object so that it is installed at full width? Example of implementation (https://s-kupe.by/index.php/konstruktor-shkafov-kupe-onlajn).

I just started studying and my task is to make a cabinet designer and I want to start with installing partitions.

1

There are 1 best solutions below

1
On

You can try using a library like React-Grid-Layout. It allows you to create flexible and responsive grid-based layouts, where components can be moved and arranged in rows and columns. You can refer to the documentation here: https://github.com/react-grid-layout/react-grid-layout#react-grid-layout and try out the demos here: https://react-grid-layout.github.io/react-grid-layout/examples/0-showcase.html

You can set the grid layout parameter sizes to fix your required cabinet length/height and customise the grids' appearance to be your partitions.