Петя Герман
Петя Герман

Reputation: 11

Installation and movement of elements

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.

Upvotes: 0

Views: 33

Answers (1)

Jun
Jun

Reputation: 1

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.

Upvotes: 0

Related Questions