Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/cmdk.ts

Deno-powered framework for building business web apps
Go to Latest
import * as netzo from "https://deno.land/x/netzo@0.3.91/deps/cmdk.ts";

Variables

Renders the command menu in a Radix Dialog.

Automatically renders when there are no results for the search query.

Group command menu items together with a heading. Grouped items are always shown together.

Command menu input. All props are forwarded to the underyling input element.

Command menu item. Becomes active on pointer enter or through keyboard navigation. Preferably pass a value, otherwise the value will be inferred from children or the rendered item's textContent.

Contains Item, Group, and Separator. Use the --cmdk-list-height CSS variable to animate height based on the number of results.

You should conditionally render this with progress while loading asynchronous items.

A visual and semantic separator between items or groups. Visible when the search query is empty or alwaysRender is true, hidden otherwise.

Functions

Run a selector against the store state.