Ana Sayfa AI Eğitimler Projeler Araçlar
Vibe Kit / Bileşen / Kartlar

Interactive Folder Card

Tıklandığında açılan, içinde dosyalar olan interaktif bir klasör kartı.

Yazar: byllzz Kaynak ↗ MIT ↑ 0 kopyalama 👁 1
Önizleme
<!-- From Uiverse.io by byllzz --> 
<label class="folder-card">
  <input type="checkbox" class="folder-toggle" />

  <div class="hint-wrapper">
    <span class="hint-text">Click to open</span>
    <svg
      class="hint-arrow"
      viewBox="0 0 40 40"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M 35 5 C 35 5, 15 5, 10 25 M 10 25 L 3 18 M 10 25 L 18 22"
        stroke="#60a5fa"
        stroke-width="2"
        stroke-linecap="round"
        stroke-linejoin="round"
      ></path>
    </svg>
  </div>

  <div class="folder-container">
    <svg class="folder-back" viewBox="0 0 50 40" fill="none">
      <path
        d="M0 4C0 1.79086 1.79086 0 4 0H16.524C17.721 0 18.8415 0.54051 19.574 1.4673L22.426 5.0654C23.1585 5.99219 24.279 6.5327 25.476 6.5327H46C48.2091 6.5327 50 8.32356 50 10.5327V36C50 38.2091 48.2091 40 46 40H4C1.79086 40 0 38.2091 0 36V4Z"
        fill="#0056b3"
      ></path>
    </svg>

    <div class="folder-search">
      <svg
        class="search-icon"
        viewBox="0 0 24 24"
        fill="none"
        stroke="white"
        stroke-width="3"
      >
        <circle cx="11" cy="11" r="8"></circle>
        <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
      </svg>
      <input type="text" placeholder="Search files..." class="search-input" />
    </div>

    <div class="file file-5">
      <div class="shine"></div>
      <svg
        class="file-icon"
        viewBox="0 0 24 24"
        fill="none"
        stroke="currentColor"
        stroke-width="2"
      >
        <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
        <circle cx="8.5" cy="8.5" r="1.5"></circle>
        <polyline points="21 15 16 10 5 21"></polyline>
      </svg>
      <div class="file-text">Hero_BG.png</div>
      <div class="file-tag">PNG • 4.2 MB</div>
    </div>

    <div class="file file-4">
      <div class="shine"></div>
      <svg
        class="file-icon"
        viewBox="0 0 24 24"
        fill="none"
        stroke="currentColor"
        stroke-width="2"
      >
        <polygon points="23 7 16 12 23 17 23 7"></polygon>
        <rect x="1" y="5" width="15" height="14" rx="2" ry="2"></rect>
      </svg>
      <div class="file-text">Promo_Cut.mp4</div>
      <div class="file-tag">MP4 • 128 MB</div>
    </div>

    <div class="file file-3">
      <div class="shine"></div>
      <svg
        class="file-icon"
        viewBox="0 0 24 24"
        fill="none"
        stroke="currentColor"
        stroke-width="2"
      >
        <polyline points="16 18 22 12 16 6"></polyline>
        <polyline points="8 6 2 12 8 18"></polyline>
      </svg>
      <div class="file-text">app_config.json</div>
      <div class="file-tag">JSON • 12 KB</div>
    </div>

    <div class="file file-2">
      <div class="shine"></div>
      <svg
        class="file-icon"
        viewBox="0 0 24 24"
        fill="none"
        stroke="currentColor"
        stroke-width="2"
      >
        <path
          d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"
        ></path>
        <polyline points="14 2 14 8 20 8"></polyline>
        <line x1="16" y1="13" x2="8" y2="13"></line>
        <line x1="16" y1="17" x2="8" y2="17"></line>
        <polyline points="10 9 9 9 8 9"></polyline>
      </svg>
      <div class="file-text">Q3_Report.pdf</div>
      <div class="file-tag">PDF • 1.1 MB</div>
    </div>

    <div class="file file-1">
      <div class="shine"></div>
      <svg
        class="file-icon"
        viewBox="0 0 24 24"
        fill="none"
        stroke="currentColor"
        stroke-width="2"
      >
        <rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect>
        <line x1="8" y1="21" x2="16" y2="21"></line>
        <line x1="12" y1="17" x2="12" y2="21"></line>
      </svg>
      <div class="file-text">Pitch_Deck.pptx</div>
      <div class="file-tag">PPTX • 8.4 MB</div>
    </div>

    <div class="folder-front-wrapper">
      <svg class="folder-front" viewBox="0 0 50 34" fill="none">
        <path
          d="M0 4C0 1.79086 1.79086 0 4 0H46C48.2091 0 50 1.79086 50 4V30C50 32.2091 48.2091 34 46 34H4C1.79086 34 0 32.2091 0 30V4Z"
          fill="rgba(0, 123, 255, 0.65)"
        ></path>
      </svg>
      <div class="folder-label"></div>
      <div class="counter">
        <div class="status-dot"></div>
        <span class="counter-label">FILES</span>
        <span class="counter-number">05</span>
      </div>
    </div>
  </div>
</label>