selected-files-collapse.svg


Overview

This file contains an SVG (Scalable Vector Graphics) image definition representing a graphical icon named "selected-files-collapse". The icon visually symbolizes a "collapse" action typically used in file explorers or UI systems to indicate the minimization or collapsing of a selection of files or folders.

The SVG is a compact, resolution-independent vector graphic designed for UI use, sized at 20x20 pixels. It uses a simple stroke-based line drawing with rounded edges and a purple color stroke, making it suitable for modern web or desktop applications.


Detailed Explanation of the SVG Contents

SVG Element Attributes

Path Element


Usage Example

Since this is an SVG file, it can be directly embedded or referenced in HTML or JSX components as an icon:

Inline SVG in HTML

<div class="icon">
  <!-- Paste contents of selected-files-collapse.svg here -->
  <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path
      d="M6.66667 10H13.3333M6.5 17.5H13.5C14.9001 17.5 15.6002 17.5 16.135 17.2275C16.6054 16.9878 16.9878 16.6054 17.2275 16.135C17.5 15.6002 17.5 14.9001 17.5 13.5V6.5C17.5 5.09987 17.5 4.3998 17.2275 3.86502C16.9878 3.39462 16.6054 3.01217 16.135 2.77248C15.6002 2.5 14.9001 2.5 13.5 2.5H6.5C5.09987 2.5 4.3998 2.5 3.86502 2.77248C3.39462 3.01217 3.01217 3.39462 2.77248 3.86502C2.5 4.3998 2.5 5.09987 2.5 6.5V13.5C2.5 14.9001 2.5 15.6002 2.77248 16.135C3.01217 16.6054 3.39462 16.9878 3.86502 17.2275C4.3998 17.5 5.09987 17.5 6.5 17.5Z"
      stroke="#7F56D9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
  </svg>
</div>

React Component Example

const SelectedFilesCollapseIcon = () => (
  <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path
      d="M6.66667 10H13.3333M6.5 17.5H13.5C14.9001 17.5 15.6002 17.5 16.135 17.2275C16.6054 16.9878 16.9878 16.6054 17.2275 16.135C17.5 15.6002 17.5 14.9001 17.5 13.5V6.5C17.5 5.09987 17.5 4.3998 17.2275 3.86502C16.9878 3.39462 16.6054 3.01217 16.135 2.77248C15.6002 2.5 14.9001 2.5 13.5 2.5H6.5C5.09987 2.5 4.3998 2.5 3.86502 2.77248C3.39462 3.01217 3.01217 3.39462 2.77248 3.86502C2.5 4.3998 2.5 5.09987 2.5 6.5V13.5C2.5 14.9001 2.5 15.6002 2.77248 16.135C3.01217 16.6054 3.39462 16.9878 3.86502 17.2275C4.3998 17.5 5.09987 17.5 6.5 17.5Z"
      stroke="#7F56D9" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
  </svg>
);

export default SelectedFilesCollapseIcon;

Important Implementation Details


Interaction with Other System Components


Visual Diagram

Since this file contains a single SVG icon without classes or functions, a flowchart representing the structure of the SVG elements is appropriate:

flowchart TD
    A[SVG Root Element]
    B[Path Element]
    A --> B
    B -->|Draws| C[Horizontal Line (Minus Sign)]
    B -->|Draws| D[Rounded Rectangle (Container Frame)]
    style A fill:#f9f,stroke:#333,stroke-width:1px
    style B fill:#bbf,stroke:#333,stroke-width:1px
    style C fill:#bfb,stroke:#333,stroke-width:1px
    style D fill:#bfb,stroke:#333,stroke-width:1px

Summary

This concise and visually distinct icon enhances user experience by clearly communicating interface actions related to file or folder collapsing.