Skip to content

position

Package: @autotracer/dashboard  ·  Layer: Runtime  ·  Initializer: mountDashboard(config?)  ·  Type: "bottom-right" | "bottom-left" | "top-right" | "top-left"  ·  Default: "bottom-right"


position is a configuration field in the DashboardConfig shape used by mountDashboard(config?) in @autotracer/dashboard and reused by the Vite-plugin dashboardConfig setting. It chooses which screen corner receives the floating dashboard widget.

Changing this setting only changes the fixed corner class applied to the widget. The widget keeps the same fixed-corner layout behavior and the same offset from the chosen screen edge.

Values

  • "bottom-right"
  • "bottom-left"
  • "top-right"
  • "top-left"

Usage

typescript
mountDashboard({
  position: "top-left",
});

Released under the MIT License.