Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Unable to display particles #71

Description

@rushkii

I'm using Side Confetti presets which is provided in https://particles.js.org/ itself, but it's unable to display the particles, why? the options gave me the type error :/

err:

Type '{ autoPlay: boolean; background: { color: { value: string; }; image: string; position: string; repeat: string; size: string; opacity: number; }; backgroundMask: { composite: string; cover: { color: { value: string; }; opacity: number; }; enable: boolean; }; ... 18 more ...; motion: { ...; }; }' is not assignable to type 'RecursivePartial<IOptions>'.
  The types of 'backgroundMask.composite' are incompatible between these types.
    Type 'string' is not assignable to type 'GlobalCompositeOperation | undefined'.ts(2322)

particles.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions