Vela UI Docsvenizia.ai

bag-01

Bag01, 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-01.

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

Installation

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

Usage

// components/icons/bag-01.tsx
import Bag01 from "@/components/icons/bag-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Bag01({ size = 24, strokeWidth = 1, className, ref, ...props }: Bag01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M5.4 9.62394L10.2308 4.35394C11.182 3.31626 12.818 3.31626 13.7692 4.35394L18.6 9.62394M21.1975 10.9209L18.4655 19.7209C18.3356 20.1393 17.9485 20.4244 17.5104 20.4244H6.55558C6.1197 20.4244 5.73404 20.1421 5.60232 19.7266L2.81278 10.9266C2.60841 10.2819 3.08968 9.62442 3.76603 9.62442H20.2425C20.9163 9.62442 21.3973 10.2774 21.1975 10.9209Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Bag01.displayName = "Bag01";

export default Bag01;