Vela UI Docsvenizia.ai

laptop-01

Laptop01, 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-laptop-01.

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

Installation

pnpm dlx velaui add @velaui/icon-laptop-01

Usage

// components/icons/laptop-01.tsx
import Laptop01 from "@/components/icons/laptop-01"

<Laptop01 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 Laptop01Props extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Laptop01({ size = 24, strokeWidth = 1, className, ref, ...props }: Laptop01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M20.4 15.6V6.23072C20.4 5.10916 19.4598 4.19995 18.3 4.19995H5.69999C4.5402 4.19995 3.59999 5.10916 3.59999 6.23072V15.6M20.4 15.6C21.0627 15.6 21.6 16.1372 21.6 16.8V18.6C21.6 19.2627 21.0627 19.8 20.4 19.8H3.59999C2.93725 19.8 2.39999 19.2627 2.39999 18.6V16.8C2.39999 16.1372 2.93725 15.6 3.59999 15.6M20.4 15.6H16.2L14.4 16.8H9.89999L7.79999 15.6H3.59999" stroke="currentColor" strokeLinejoin="round"/>
    </svg>
  );
}
Laptop01.displayName = "Laptop01";

export default Laptop01;