Interface GuideColumnParams

Represents parameters for board guide columns in Penpot. This interface includes properties for defining the appearance and layout of column guides within a board.

interface GuideColumnParams {
    color: {
        color: string;
        opacity: number;
    };
    type?:
        | "center"
        | "left"
        | "right"
        | "stretch";
    size?: number;
    margin?: number;
    itemLength?: number;
    gutter?: number;
}

Properties

color: {
    color: string;
    opacity: number;
}

The color configuration for the column guides.

type?:
    | "center"
    | "left"
    | "right"
    | "stretch"

The optional alignment type of the column guides.

  • 'stretch': Columns stretch to fit the available space.
  • 'left': Columns align to the left.
  • 'center': Columns align to the center.
  • 'right': Columns align to the right.
size?: number

The optional size of each column.

margin?: number

The optional margin between the columns and the board edges.

itemLength?: number

The optional length of each item within the columns.

gutter?: number

The optional gutter width between columns.