Command

A fast, composable command palette / searchable list.

Installation

npx lily-svelte@latest add command

Usage

<script lang="ts">
	import * as Command from '$lib/components/ui/command';
</script>
 
<Command.Root>
	<Command.Input placeholder="Type a command…" />
	<Command.List>
		<Command.Empty>No results found.</Command.Empty>
		<Command.Group heading="Suggestions">
			<Command.Item>Calendar</Command.Item>
			<Command.Item>Search</Command.Item>
		</Command.Group>
	</Command.List>
</Command.Root>

Built by levish. The source code is available on GitHub.

Quiet by design.