Enterprise / COMPONENT
CommandPalette
Dialog pencarian perintah dengan navigasi keyboard.
import { CommandPalette } from "./vendor/syne-ui/index.js";TypeScript readySaved 0 times.
Interactive example · Try the controls with your mouse or keyboard.
Start with an example
Import the component and adapt it to your interface.
Example.tsxTSX
import { CommandPalette } from "./vendor/syne-ui/index.js";
export function Example() {
return (
<CommandPalette open={false} onClose={() => {}} commands={[{ id: "save", label: "Save", onSelect: () => console.log("Saved") }]} />
);
}Make it yours
Use className and --syne-* tokens to match your design system.
