Vela UI Docsvenizia.ai

refresh-01

Refresh01, one of the 856 Vela UI icons, in the Arrows 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-refresh-01.

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

Installation

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

Usage

// components/icons/refresh-01.tsx
import Refresh01 from "@/components/icons/refresh-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Refresh01({ size = 24, strokeWidth = 1, className, ref, ...props }: Refresh01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M6.00002 19.2C4.0118 19.2 2.40002 17.5882 2.40002 15.6V8.3999C2.40003 6.41168 4.0118 4.7999 6.00003 4.7999H11.4M16.2 4.7999H18C19.9882 4.7999 21.6 6.41168 21.6 8.3999V15.6C21.6 17.5882 19.9882 19.2 18 19.2H10.2M12.6 21.5999L10.2 19.2L12.6 16.7999M10.2 7.1999L12.6 4.7999L10.2 2.3999" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Refresh01.displayName = "Refresh01";

export default Refresh01;