outlinePlugin

Show an outline of components currently on the canvas.

import { Puck, outlinePlugin } from "@measured/puck";
 
const outline = outlinePlugin();
 
export function Editor() {
  return <Puck plugins={[outline]} />;
}

This plugin is included by default. Explicitly including it allows you to change the order.

Params

This plugin does not accept any params.