Description
The Gridstack Angular wrapper is a component that brings the Gridstack drag-and-drop dashboard library into Angular applications. Gridstack is a mobile-friendly TypeScript library for building responsive, multi-column dashboards that users can rearrange and resize. The wrapper has two main ways to use it. The recommended approach uses dynamic grid items, so Gridstack creates and removes the items itself, which suits projects with several grids, drag-from-toolbar creation or drag-to-remove. A second approach uses ngFor with the wrapper, for simple cases where your code controls the children. The README includes examples in which each grid item hosts a real Angular component, with settings saved per component through a BaseWidget. The wrapper is available as a standalone component, and an NgModule import is also described. It needs Gridstack version 8 or later and Angular 14 or later, and older Angular versions can copy the wrapper code and switch to the older component creation API. The Angular wrapper code ships with Gridstack in its dist/angular folder, and the repository has a demo that runs with yarn start.…
Highlights
- Responsive multi-column dashboards
- Dynamic grid items created by Gridstack
- ngFor mode for simple grids
- Standalone components and NgModule import
- Per-component saved settings
Ratings & Reviews
No ratings yet
Be the first to rate gridstack.
People also visit
gridstack FAQ
What is the Gridstack Angular wrapper?
A component that lets Angular apps use the Gridstack library for drag-and-drop, responsive grid dashboards.
Which versions does it need?
Gridstack version 8 or later, and Angular 14 or later, according to the README.
Which approach should I use?
The README recommends dynamic grid items when you have several grids, drag from a toolbar, or drag items to remove them.
Can grid items hold my own components?
Yes. The README shows grid items that host custom Angular components, with settings saved per component.
What about older Angular versions?
The README says Angular 13 and below need the wrapper code copied locally, with the older component creation API.
Where is the demo?
The README says to run yarn and yarn start in the angular folder, and a StackBlitz example is linked.
What are the best gridstack alternatives?
Popular alternatives to gridstack include ngx-puzzle, ng-sortgrid and vue-grid-layout. See all gridstack alternatives





















