Vela UI Docsvenizia.ai

git-branch-02

GitBranch02, 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-git-branch-02.

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

Installation

pnpm dlx velaui add @velaui/icon-git-branch-02

Usage

// components/icons/git-branch-02.tsx
import GitBranch02 from "@/components/icons/git-branch-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function GitBranch02({ size = 24, strokeWidth = 1, className, ref, ...props }: GitBranch02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M6.50405 14.9919C7.887 14.9919 9.0081 16.113 9.0081 17.496C9.0081 18.8789 7.887 20 6.50405 20C5.1211 20 4 18.8789 4 17.496C4 16.113 5.1211 14.9919 6.50405 14.9919ZM6.50405 14.9919L6.50405 6.50405M16.5203 9.0081C17.9032 9.0081 19.0243 7.887 19.0243 6.50405C19.0243 5.1211 17.9032 4 16.5203 4C15.1373 4 14.0162 5.1211 14.0162 6.50405C14.0162 7.887 15.1373 9.0081 16.5203 9.0081ZM16.5203 9.0081L16.5203 13.4585C16.5203 15.6677 14.7294 17.4585 12.5203 17.4585L9.00937 17.4585" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
GitBranch02.displayName = "GitBranch02";

export default GitBranch02;