Vela UI Docsvenizia.ai

iphone-02

Iphone02, 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-iphone-02.

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

Installation

pnpm dlx velaui add @velaui/icon-iphone-02

Usage

// components/icons/iphone-02.tsx
import Iphone02 from "@/components/icons/iphone-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Iphone02({ size = 24, strokeWidth = 1, className, ref, ...props }: Iphone02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M8.39999 3.59992L9.99999 5.99992H14L15.6 3.59992M4.79999 4.7999V19.1999C4.79999 20.5254 5.8745 21.5999 7.19999 21.5999H16.8C18.1255 21.5999 19.2 20.5254 19.2 19.1999V4.79992C19.2 3.47443 18.1255 2.39992 16.8 2.39992L7.19999 2.3999C5.87451 2.3999 4.79999 3.47442 4.79999 4.7999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Iphone02.displayName = "Iphone02";

export default Iphone02;