Represents blur properties in Penpot. This interface includes properties for defining the type and intensity of a blur effect, along with its visibility.

interface Blur {
    id?: string;
    type?: "layer-blur";
    value?: number;
    hidden?: boolean;
}

Properties

Properties

id?: string

The optional unique identifier for the blur effect.

type?: "layer-blur"

The optional type of the blur effect. Currently, only 'layer-blur' is supported.

value?: number

The optional intensity value of the blur effect.

hidden?: boolean

Specifies whether the blur effect is hidden. Defaults to false if omitted.