Tile manager

Drag a tile by its header to move it; drag a side / bottom / corner grip to resize. The board keeps one layout per column count: rearrange at one width and the other widths keep theirs. Below the stack width the tiles stack in one column. Layouts persist to localStorage.

Keyboard shortcuts
  • Tab — focus the board. Exactly one tile is in the tab order, so Tab again leaves it.
  • ← → ↑ ↓ — focus the previous / next tile in reading order · Home / End — first / last
  • M — move mode: arrows move the tile one cell · R — resize mode: arrows grow or shrink it
  • Enter — commit · Esc — restore the layout from before the mode, or cancel a pointer gesture
Panels:
Lock:

Board width: —px Columns: —

Weather
Sunny · 22 °C · 5 km/h NW
Inbox
3 unread · 2 starred
Stats
1.2k visits · ↑12% week-over-week
Calendar
Next: Standup at 10:00
Notes
“Refactor packer · push v1 by Friday”
Activity
7 commits · 2 PRs reviewed today
Read-only.
Stored layouts
{}

Source

const layouts = ref<TileLayouts>(JSON.parse(localStorage.getItem('dashboard') ?? '{}'));watch(layouts, (next) => localStorage.setItem('dashboard', JSON.stringify(next)));<BsTileManager  v-model:layouts="layouts"  :tiles="tiles"  :stack-below="576"  :gap="12"  label="Dashboard">  <template #header="{ tile }">{{ (tile as DashboardTile).title }}</template>  <template #content="{ tile }"><div class="tile-body">{{ (tile as DashboardTile).body }}</div></template></BsTileManager>