Vela UI Docsvenizia.ai

shuffle

Shuffle, 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-shuffle.

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

Installation

pnpm dlx velaui add @velaui/icon-shuffle

Usage

// components/icons/shuffle.tsx
import Shuffle from "@/components/icons/shuffle"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Shuffle({ size = 24, strokeWidth = 1, className, ref, ...props }: ShuffleProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M3 18.3325H5.79472C6.88468 18.3325 7.90755 17.8061 8.54107 16.9192L9.50058 15.5759M20.3023 6.47176H17.5076C16.4176 6.47176 15.3948 6.99814 14.7612 7.88508L13.6875 9.38832M18.6545 4L21 6.47176L18.6545 8.94352M18.6545 15.9165L21 18.3882L18.6545 20.86M3 6.85337H5.79472C6.88468 6.85337 7.90755 7.37975 8.54107 8.26669L14.7612 16.9749C15.3948 17.8619 16.4176 18.3882 17.5076 18.3882H20.3023" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Shuffle.displayName = "Shuffle";

export default Shuffle;