Icons / graduation-cap-01 graduation-cap-01 GraduationCap01, 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-graduation-cap-01.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-graduation-cap-01Copy npx shadcn@latest add @velaui/icon-graduation-cap-01Copy yarn dlx shadcn@latest add @velaui/icon-graduation-cap-01Copy bunx --bun shadcn@latest add @velaui/icon-graduation-cap-01Copy Usage
Copy // components/icons/graduation-cap-01.tsx
import GraduationCap01 from "@/components/icons/graduation-cap-01"
<GraduationCap01 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 GraduationCap01Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function GraduationCap01 ({ size = 24, strokeWidth = 1, className, ref, ... props } : GraduationCap01Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M5.43074 11.9682L11.3648 15.5045C11.6802 15.6925 12.0732 15.6925 12.3886 15.5045L21.9726 9.79303C22.298 9.59913 22.298 9.12791 21.9726 8.93401L12.3886 3.22254C12.0732 3.03457 11.6802 3.03457 11.3648 3.22254L1.7808 8.934C1.45542 9.12791 1.45542 9.59913 1.7808 9.79303L5.43074 11.9682ZM5.43074 11.9682L5.43074 18.2116C5.43074 18.5536 5.6056 18.872 5.89429 19.0555L10.8423 22.2007C11.477 22.6042 12.2845 22.6175 12.9321 22.235L18.3241 19.0511C18.6287 18.8712 18.8157 18.5438 18.8157 18.19L18.8157 11.9682" stroke = "currentColor" />
</svg>
);
}
GraduationCap01.displayName = "GraduationCap01" ;
export default GraduationCap01;