A self-hosted orchestration system crafted for power users. composia.xyz
Something went wrong. Try again.
Svelte
1234567891011121314151617181920212223242526<script lang="ts"> import { cn } from "$lib/utils.js"; import { Command as CommandPrimitive } from "bits-ui";
export type CommandRootApi = CommandPrimitive.Root;
let { api = $bindable(null), ref = $bindable(null), value = $bindable(""), class: className, ...restProps }: CommandPrimitive.RootProps & { api?: CommandRootApi | null; } = $props();</script>
<CommandPrimitive.Root bind:this={api} bind:value bind:ref data-slot="command" class={cn("bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden", className)} {...restProps}/>