Icons / snowflake snowflake Snowflake, 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-snowflake.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-snowflakeCopy npx shadcn@latest add @velaui/icon-snowflakeCopy yarn dlx shadcn@latest add @velaui/icon-snowflakeCopy bunx --bun shadcn@latest add @velaui/icon-snowflakeCopy Usage
Copy // components/icons/snowflake.tsx
import Snowflake from "@/components/icons/snowflake"
<Snowflake 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 SnowflakeProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Snowflake ({ size = 24, strokeWidth = 1, className, ref, ... props } : SnowflakeProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M8.81144 21.2447L11.9992 18.0568M11.9992 18.0568L15.1871 21.2447M11.9992 18.0568V5.94318M15.1871 2.75537L11.9992 5.94318M11.9992 5.94318L8.81144 2.75537M2.40002 13.8616L6.75465 15.0285M6.75465 15.0285L5.58783 19.3831M6.75465 15.0285L17.2454 8.97163M21.6 10.1384L17.2454 8.97163M17.2454 8.97163L18.4122 4.617M5.58783 4.617L6.75465 8.97163M6.75465 8.97163L2.40003 10.1384M6.75465 8.97163L17.2454 15.0285M18.4122 19.3831L17.2454 15.0285M17.2454 15.0285L21.6 13.8616" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
Snowflake.displayName = "Snowflake" ;
export default Snowflake;