Vela UI Docsvenizia.ai

bag-02

Bag02, 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-bag-02.

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

Installation

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

Usage

// components/icons/bag-02.tsx
import Bag02 from "@/components/icons/bag-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Bag02({ size = 24, strokeWidth = 1, className, ref, ...props }: Bag02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M16.4108 10.7088L16.4047 10.7026M8.11419 10.7088L8.10807 10.7026M16.4108 6.55125C16.4108 4.25853 14.5522 2.3999 12.2595 2.3999C9.96673 2.3999 8.10811 4.25853 8.10811 6.55125M5.51351 21.5999H18.4865C19.6329 21.5999 20.5622 20.6706 20.5622 19.5242V8.62693C20.5622 7.48056 19.6329 6.55125 18.4865 6.55125H5.51351C4.36715 6.55125 3.43784 7.48056 3.43784 8.62693V19.5242C3.43784 20.6706 4.36715 21.5999 5.51351 21.5999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Bag02.displayName = "Bag02";

export default Bag02;