Vela UI Docsvenizia.ai

smiley-sad

SmileySad, 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-smiley-sad.

  • 16px
  • 20px
  • 24px
  • 32px

Installation

pnpm dlx velaui add @velaui/icon-smiley-sad

Usage

// components/icons/smiley-sad.tsx
import SmileySad from "@/components/icons/smiley-sad"

<SmileySad className="size-5 text-muted" />

In use

  • In a button

  • In a sentence

    Due Friday, or whenever the venue confirms.

  • In an input

  • As a badge

    Scheduled
  • In an empty state

    No events on this day yet.

    Browse blocks

Source

import * as React from "react";

export interface SmileySadProps extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function SmileySad({ size = 24, strokeWidth = 0, className, ref, ...props }: SmileySadProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M9.12 9.1199V8.6199C8.84386 8.6199 8.62 8.84376 8.62 9.1199H9.12ZM9.21563 9.1199H9.71563C9.71563 8.84376 9.49177 8.6199 9.21563 8.6199V9.1199ZM14.88 9.1199V8.6199C14.6039 8.6199 14.38 8.84376 14.38 9.1199H14.88ZM14.965 9.1199H15.465C15.465 8.84376 15.2412 8.6199 14.965 8.6199V9.1199ZM9.21563 9.19678V9.69678C9.49177 9.69678 9.71563 9.47292 9.71563 9.19678H9.21563ZM9.12 9.19678H8.62C8.62 9.47292 8.84386 9.69678 9.12 9.69678V9.19678ZM14.965 9.19678V9.69678C15.2412 9.69678 15.465 9.47292 15.465 9.19678H14.965ZM14.88 9.19678H14.38C14.38 9.47292 14.6039 9.69678 14.88 9.69678V9.19678ZM11.9999 14.4037V13.9037V14.4037ZM14.9028 16.5477C15.0482 16.7825 15.3563 16.855 15.5911 16.7097C15.8259 16.5643 15.8985 16.2561 15.7531 16.0213L15.328 16.2845L14.9028 16.5477ZM8.24673 16.0213C8.10139 16.2561 8.17391 16.5643 8.40871 16.7097C8.64351 16.855 8.95167 16.7825 9.09702 16.5477L8.67188 16.2845L8.24673 16.0213ZM21.6 11.9999H21.1C21.1 17.0257 17.0258 21.0999 12 21.0999V21.5999V22.0999C17.5781 22.0999 22.1 17.578 22.1 11.9999H21.6ZM12 21.5999V21.0999C6.97421 21.0999 2.9 17.0257 2.9 11.9999H2.4H1.9C1.9 17.578 6.42192 22.0999 12 22.0999V21.5999ZM2.4 11.9999H2.9C2.9 6.97411 6.97421 2.8999 12 2.8999V2.3999V1.8999C6.42192 1.8999 1.9 6.42183 1.9 11.9999H2.4ZM12 2.3999V2.8999C17.0258 2.8999 21.1 6.97411 21.1 11.9999H21.6H22.1C22.1 6.42183 17.5781 1.8999 12 1.8999V2.3999ZM9.12 9.1199V9.6199H9.21563V9.1199V8.6199H9.12V9.1199ZM14.88 9.1199V9.6199H14.965V9.1199V8.6199H14.88V9.1199ZM9.21563 9.1199H8.71563V9.19678H9.21563H9.71563V9.1199H9.21563ZM9.21563 9.19678V8.69678H9.12V9.19678V9.69678H9.21563V9.19678ZM9.12 9.19678H9.62V9.1199H9.12H8.62V9.19678H9.12ZM14.965 9.1199H14.465V9.19678H14.965H15.465V9.1199H14.965ZM14.965 9.19678V8.69678H14.88V9.19678V9.69678H14.965V9.19678ZM14.88 9.19678H15.38V9.1199H14.88H14.38V9.19678H14.88ZM11.9999 14.4037V14.9037C13.2144 14.9037 14.2878 15.5541 14.9028 16.5477L15.328 16.2845L15.7531 16.0213C14.9683 14.7534 13.5838 13.9037 11.9999 13.9037V14.4037ZM8.67188 16.2845L9.09702 16.5477C9.71205 15.5541 10.7855 14.9037 11.9999 14.9037V14.4037V13.9037C10.4161 13.9037 9.03158 14.7534 8.24673 16.0213L8.67188 16.2845Z" fill="currentColor"/>
    </svg>
  );
}
SmileySad.displayName = "SmileySad";

export default SmileySad;