Icons / chromecast chromecast Chromecast, 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-chromecast.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-chromecastCopy npx shadcn@latest add @velaui/icon-chromecastCopy yarn dlx shadcn@latest add @velaui/icon-chromecastCopy bunx --bun shadcn@latest add @velaui/icon-chromecastCopy Usage
Copy // components/icons/chromecast.tsx
import Chromecast from "@/components/icons/chromecast"
<Chromecast 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 ChromecastProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Chromecast ({ size = 24, strokeWidth = 1, className, ref, ... props } : ChromecastProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M3 19H3.012M7 19C7 17.9391 6.57857 16.9217 5.82843 16.1716C5.07828 15.4214 4.06087 15 3 15M11 19C11 16.8783 10.1571 14.8434 8.65685 13.3431C7.15656 11.8429 5.12173 11 3 11M15 19H18C18.7956 19 19.5587 18.6839 20.1213 18.1213C20.6839 17.5587 21 16.7957 21 16V8C21 7.20435 20.6839 6.44129 20.1213 5.87868C19.5587 5.31607 18.7956 5 18 5H6C5.38448 5.00584 4.78565 5.20088 4.28476 5.55866C3.78387 5.91644 3.40515 6.41965 3.2 7" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
Chromecast.displayName = "Chromecast" ;
export default Chromecast;