Icons / keyboard keyboard Keyboard, one of the 856 Vela UI icons, in the General group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-keyboard.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-keyboardCopy npx shadcn@latest add @velaui/icon-keyboardCopy yarn dlx shadcn@latest add @velaui/icon-keyboardCopy bunx --bun shadcn@latest add @velaui/icon-keyboardCopy Usage
Copy // components/icons/keyboard.tsx
import Keyboard from "@/components/icons/keyboard"
<Keyboard className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface KeyboardProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Keyboard ({ size = 24, strokeWidth = 1, className, ref, ... props } : KeyboardProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M6.59999 10.2H6.62812M10.2 10.2H10.2281M17.3719 10.2H17.4M13.8 10.2H13.8281M8.39999 13.8H8.42812M12 13.8H12.0281M15.6 13.8H15.6281M4.79999 18H19.2C20.5255 18 21.6 16.9255 21.6 15.6V8.4C21.6 7.07452 20.5255 6 19.2 6H4.79999C3.47451 6 2.39999 7.07452 2.39999 8.4V15.6C2.39999 16.9255 3.47451 18 4.79999 18Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
Keyboard.displayName = "Keyboard" ;
export default Keyboard;