Icons / browser-code browser-code BrowserCode, 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-browser-code.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-browser-codeCopy npx shadcn@latest add @velaui/icon-browser-codeCopy yarn dlx shadcn@latest add @velaui/icon-browser-codeCopy bunx --bun shadcn@latest add @velaui/icon-browser-codeCopy Usage
Copy // components/icons/browser-code.tsx
import BrowserCode from "@/components/icons/browser-code"
<BrowserCode 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 BrowserCodeProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function BrowserCode ({ size = 24, strokeWidth = 1, className, ref, ... props } : BrowserCodeProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M7.19999 11.4004L10.2 14.4004L7.19999 17.4004M2.99999 7.80039H21M4.79999 21.6004C3.47451 21.6004 2.39999 20.5259 2.39999 19.2004V4.80039C2.39999 3.47491 3.47451 2.40039 4.79999 2.40039H19.2C20.5255 2.40039 21.6 3.47491 21.6 4.80039V19.2004C21.6 20.5259 20.5255 21.6004 19.2 21.6004H4.79999Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
BrowserCode.displayName = "BrowserCode" ;
export default BrowserCode;