Resized Asset Variants

Woman with short hair looking over her shoulder against a blue sky

spring-hero.jpg

4000 × 2667

Square

1080 × 1080

Story

1080 × 1920

Banner

1500 × 500

About this piece

Resized Asset Variants

Drop in one image and watch square, story and banner frames open beneath it, each filling with its own crop and pixel size.

Usage

The import and the props worth knowing about, in one place.

import { Upload34 } from "@/components/beste/piece/upload34";

<Upload34
  image={{
    "src": "https://images.unsplash.com/photo-1621983266286-09645be8fd01?q=80&w=1200&auto=format&fit=crop",
    "alt": "Woman with short hair looking over her shoulder against a blue sky"
  }}
  fileName="spring-hero.jpg"
  fileSize="4000 × 2667"
  variants={[
    {
      "label": "Square",
      "size": "1080 × 1080",
      "ratio": "square"
    },
    {
      "label": "Story",
      "size": "1080 × 1920",
      "ratio": "story"
    },
    {
      "label": "Banner",
      "size": "1500 × 500",
      "ratio": "banner"
    }
  ]}
  framed={true}
  stepMs={900}
/>

More Upload pieces

View all Upload
Crop Frame1200 × 630
+20
Recent uploads24 items
Drop to uploadRelease anywhere in this area
Drag files to uploador click to browse your device
Image Row
brand-hero.jpg2400 × 1600 · 1.4 MB
raw-footage-reel.mp458%