Icons / computer computer Computer, 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-computer.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-computerCopy npx shadcn@latest add @velaui/icon-computerCopy yarn dlx shadcn@latest add @velaui/icon-computerCopy bunx --bun shadcn@latest add @velaui/icon-computerCopy Usage
Copy // components/icons/computer.tsx
import Computer from "@/components/icons/computer"
<Computer 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 ComputerProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Computer ({ size = 24, strokeWidth = 1, className, ref, ... props } : ComputerProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M12 16.8001V19.2001M8.4 20.4001H15.6M4.8 16.8001H19.2C20.5255 16.8001 21.6 15.7256 21.6 14.4001V6.0001C21.6 4.67461 20.5255 3.6001 19.2 3.6001H4.8C3.47452 3.6001 2.4 4.67461 2.4 6.0001V14.4001C2.4 15.7256 3.47452 16.8001 4.8 16.8001Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
Computer.displayName = "Computer" ;
export default Computer;