zebflow 0.7.9

Reactive web automation platform — pipelines, templates, and real-time collaboration in a single binary.
Documentation
import { cx } from "zeb";

/**
 * Keyboard key chip — inline mono badge styled like a physical key.
 * Use for showing keyboard shortcut hints.
 */
export default function Kbd({ children, className = "" }) {
  return (
    <kbd className={cx(
      "inline-flex items-center justify-center",
      "font-mono text-[0.65rem] leading-none",
      "px-[0.45em] py-[0.18em]",
      "border border-white/[0.22] border-b-2",
      "rounded-[0.3em]",
      "bg-white/[0.05] text-gray-400",
      "whitespace-nowrap align-middle",
      className,
    )}>
      {children}
    </kbd>
  );
}