LWT JavaScript API
    Preparing search index...

    Function createIcon

    • Create a Lucide icon element.

      Uses which Lucide.js replaces with SVG.

      Parameters

      • name: string

        Icon name (Lucide or legacy PNG name without extension)

      • options: IconOptions = {}

        Optional attributes for the icon

      Returns HTMLElement

      HTMLElement for the icon