Icons / copy-right copy-right CopyRight, 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-copy-right.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-copy-rightCopy npx shadcn@latest add @velaui/icon-copy-rightCopy yarn dlx shadcn@latest add @velaui/icon-copy-rightCopy bunx --bun shadcn@latest add @velaui/icon-copy-rightCopy Usage
Copy // components/icons/copy-right.tsx
import CopyRight from "@/components/icons/copy-right"
<CopyRight 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 CopyRightProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CopyRight ({ size = 24, strokeWidth = 1, className, ref, ... props } : CopyRightProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M20 13.1251L20 6.00003C20 4.34317 18.6568 3.00002 17 3.00003L9.875 3.00012M14 21.0001L7.25 21.0001C6.00736 21.0001 5 19.9928 5 18.7501L5 9.00012C5 7.75747 6.00736 6.75011 7.25 6.75011L14 6.75011C15.2426 6.75011 16.25 7.75747 16.25 9.00011L16.25 18.7501C16.25 19.9928 15.2426 21.0001 14 21.0001Z" stroke = "currentColor" strokeLinecap = "round" />
</svg>
);
}
CopyRight.displayName = "CopyRight" ;
export default CopyRight;