{ if (active) return; if ( document.activeElement instanceof HTMLInputElement || document.activeElement instanceof HTMLTextAreaElement ) { // Exit early if an inputtable element is already focused. return; } const isCommandOrControl = e.metaKey || e.ctrlKey; const isCmdK = isCommandOrControl && e.key.toLowerCase() === "k"; const isSlash = e.key === "/"; if (isCmdK || isSlash) { e.preventDefault(); active = true; } }} /> { const theme = e.detail.theme; document.documentElement.style.setProperty( "color-scheme", ["white", "g10"].includes(theme) ? "light" : "dark", ); }} >
Carbon Components Svelte  v{process.env.VERSION || ""} { $goto(e.detail.selectedResult.href); }} /> Carbon Svelte portfolio Carbon Icons Svelte Carbon Pictograms Svelte Carbon Charts Svelte Carbon Preprocess Svelte Resources Carbon Design System IBM Design Language
{#each components.children.filter((child) => !deprecated.includes(child.title)) as child (child.path)} {child.title} {#if deprecated.includes(child.title)} Deprecated {/if} {#if new_components.includes(child.title)} New {/if} {/each}