Penpot plugins API
    Preparing search index...

    Interface Track

    Represents a track configuration in Penpot. This interface includes properties for defining the type and value of a track used in layout configurations.

    interface Track {
        type: TrackType;
        value: number | null;
    }
    Index

    Properties

    Properties

    type: TrackType

    The type of the track. This can be one of the following values:

    • 'flex': A flexible track type.
    • 'fixed': A fixed track type.
    • 'percent': A track type defined by a percentage.
    • 'auto': An automatic track type.
    value: number | null

    The value of the track. This can be a number representing the size of the track, or null if not applicable.