Vela UI Docsvenizia.ai

passport

Passport, 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-passport.

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

Installation

pnpm dlx velaui add @velaui/icon-passport

Usage

// components/icons/passport.tsx
import Passport from "@/components/icons/passport"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Passport({ size = 24, strokeWidth = 1, className, ref, ...props }: PassportProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M9.60005 16.7999H14.4M6.80005 21.5999H17.2001C18.3046 21.5999 19.2001 20.7045 19.2001 19.5999V4.3999C19.2001 3.29533 18.3046 2.3999 17.2 2.3999H6.80005C5.69548 2.3999 4.80005 3.29533 4.80005 4.3999V19.5999C4.80005 20.7045 5.69548 21.5999 6.80005 21.5999ZM14.4 8.3999C14.4 9.72539 13.3255 10.7999 12 10.7999C10.6746 10.7999 9.60005 9.72539 9.60005 8.3999C9.60005 7.07442 10.6746 5.9999 12 5.9999C13.3255 5.9999 14.4 7.07442 14.4 8.3999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Passport.displayName = "Passport";

export default Passport;