Skip to content

Question: Install all web components from CDN with one line #134

Open

Description

@boustanihani

Is it possible to load all components via a single CDN import for fast and easy prototyping and also when not using any bundlers (like vite or webpack)..

Other popular web component frameworks offer such an option, here are some:

Activity

  1. boustanihani commented on Nov 16, 2025

    @boustanihani
    Author

    The following examples seem to work fine =>

    Using JSDELIVR:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <!-- IX-CSS -->
      <link rel="stylesheet"
        href="https://cdn.jsdelivr.net/npm/@siemens/ix@latest/dist/siemens-ix/siemens-ix.css">
    
      <!-- IX-Icons -->
      <script type="module"
        src="https://cdn.jsdelivr.net/npm/@siemens/ix-icons@latest/dist/ix-icons/ix-icons.esm.js"></script>
    
      <!-- IX-Components -->
      <script type="module"
        src="https://cdn.jsdelivr.net/npm/@siemens/ix@latest/dist/siemens-ix/siemens-ix.esm.js"></script>
    </head>
    
    <body>
    
      <div>
        <ix-button icon="star">Button</ix-button>
      </div>
    
    </body>
    
    </html>

    Using UNPKG:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <!-- IX-CSS -->
      <link rel="stylesheet"
        href="https://unpkg.com/@siemens/ix@latest/dist/siemens-ix/siemens-ix.css">
    
      <!-- IX-Icons -->
      <script type="module"
        src="https://unpkg.com/@siemens/ix-icons@latest/dist/ix-icons/ix-icons.esm.js"></script>
    
      <!-- IX-Components -->
      <script type="module"
        src="https://unpkg.com/@siemens/ix@latest/dist/siemens-ix/siemens-ix.esm.js"></script>
    </head>
    
    <body>
    
      <div>
        <ix-button icon="star">Button</ix-button>
      </div>
    
    </body>
    
    </html>

    Would be great if you could add an official example to the following section in the docs:
    https://ix.siemens.io/docs/home/installation/javascript

    The title could be "Installing from a CDN (without a bundler)".

  2. transferred this issue fromsiemens/ixon Nov 17, 2025
  3. danielleroux commented on Nov 17, 2025

    @danielleroux
    Collaborator

    @boustanihani we moved the issue to the docs repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions