<p>You can create your own customized extension and add different UI components to your application front-end page. For example, you can add a new UI component of the type <code>Button</code> . If you have your own template, you can use the <ahref="https://podman-desktop.io/storybook?id=button--docs"target="_blank"rel="noopener noreferrer">ready-to-use code</a> to add primary, secondary, loading, or other types of buttons.</p>
<divclass="theme-admonition theme-admonition-note admonition_WCGJ alert alert--secondary"><divclass="admonitionHeading_GCBg"><spanclass="admonitionIcon_L39b"><svgviewBox="0 0 14 16"><pathfill-rule="evenodd"d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>note</div><divclass="admonitionContent_pbrs"><p>If you do not have hands-on experience and want to explore, use the <ahref="/docs/extensions/templates">minimal, webview, or full template</a> to create a Podman Desktop extension.</p></div></div>
<h4class="anchor anchorWithStickyNavbar_JmGV"id="procedure">Procedure<ahref="#procedure"class="hash-link"aria-label="Direct link to Procedure"title="Direct link to Procedure"></a></h4>
<ol>
<li>Add the <code>@podman-desktop/ui-svelte</code> package to your application source code.</li>
<li>Open the <ahref="https://podman-desktop.io/storybook"target="_blank"rel="noopener noreferrer">storybook link</a>.</li>
<li>Go to <strong>Docs</strong> and copy the code for a particular UI component.
<li>Paste it in your UI source configuration file, such as <code>UIextension.svelte</code>.</li>
<li>Save the configuration changes.</li>
<li>Run your extension and debug it if required.</li>
</ol>
<h4class="anchor anchorWithStickyNavbar_JmGV"id="verification">Verification<ahref="#verification"class="hash-link"aria-label="Direct link to Verification"title="Direct link to Verification"></a></h4>
<ul>
<li>Check that the UI component is added in the webview of your extension.</li>