Icons / cursor-arrow cursor-arrow CursorArrow, one of the 856 Vela UI icons, in the Arrows 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-cursor-arrow.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-cursor-arrowCopy npx shadcn@latest add @velaui/icon-cursor-arrowCopy yarn dlx shadcn@latest add @velaui/icon-cursor-arrowCopy bunx --bun shadcn@latest add @velaui/icon-cursor-arrowCopy Usage
Copy // components/icons/cursor-arrow.tsx
import CursorArrow from "@/components/icons/cursor-arrow"
<CursorArrow 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 CursorArrowProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CursorArrow ({ size = 24, strokeWidth = 0, className, ref, ... props } : CursorArrowProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 20 20"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M13.9231 16.0296C14.0985 16.4505 13.9299 18.0447 13 18.4142C12.0701 18.7837 10.882 18.4142 10.882 18.4142L8.72605 14.1024L5 17.8284V1L16.4142 12.4142H12.1615C12.3702 12.8144 13.7003 15.4948 13.9231 16.0296Z" fill = "white" />
<path fillRule = "evenodd" clipRule = "evenodd" d = "M6 3.41421V15.4142L9 12.4142L11.5 17.4142C11.5 17.4142 12.1763 17.63 12.5 17.4142C12.8237 17.1984 13.1457 16.7638 13 16.4142C12.3123 14.7638 10.5 11.4142 10.5 11.4142H14L6 3.41421Z" fill = "currentColor" />
</svg>
);
}
CursorArrow.displayName = "CursorArrow" ;
export default CursorArrow;