Openstatus
www.openstatus.dev
1import { cn } from "@/lib/utils";
2
3export function Kbd({
4 children,
5 className,
6 ...props
7}: React.ComponentProps<"kbd">) {
8 return (
9 <kbd
10 className={cn(
11 "-me-1 ms-2 inline-flex h-5 max-h-full items-center rounded border bg-background px-1 font-[inherit] font-medium text-[0.625rem] text-muted-foreground/70",
12 className,
13 )}
14 {...props}
15 >
16 {children}
17 </kbd>
18 );
19}