Remoogle
Upload progress card
Upload progress card のプレビュー
基本アニメーション

Upload progress card

@opus-motion-library/upload-progress

提供元 Opus Motion Library

A file card with an extension badge, file name and size: the progress bar fills with stop-and-go speed and a live percentage, then turns green with a check at 100%. Enters and leaves so it loops.

インストール

node cli/mgl.mjs add upload-progress --to <your-project>/src

使いどころ

向いている
Upload / download / export states, file-sharing and cloud-storage product demos, "your file is being processed" beats, app-store style screenshots.

仕様

長さ
180f · 6s
長さの種類
延長可能
FPS
30
スタイル
ui
ライセンス
MIT

Props(13)

  • fileNamestring= "brand-guidelines.pdf"

    file name (its extension becomes the badge)

  • fileSizenumber= 24.6

    total size as a number (shown as "x of y")

  • sizeUnitstring= "MB"

    unit label after the size (MB, KB, GB)

  • statusLabelstring= "Uploading…"

    status text while uploading

  • doneLabelstring= "Upload complete"

    status text when finished

  • speedLabelstring= "3.2 MB/s"

    optional speed text next to the status (empty to hide)

  • showCancelboolean= true

    show a small "Cancel" link while uploading

  • backgroundstring= "#EEF1F7"

    frame colour, or "transparent" to overlay content

  • cardColorstring= "auto"

    card colour, or "auto"

  • inkstring= "#1B2233"

    text colour

  • accentstring= "#4F6BFF"

    progress colour

  • doneColorstring= "#18B26B"

    colour of the finished state

  • fontFamilystring= "auto"

    CSS font family, or "auto"

カテゴリ