
spring-hero.jpg
4000 × 2667
Square
1080 × 1080
Story
1080 × 1920
Banner
1500 × 500
Drop in one image and watch square, story and banner frames open beneath it, each filling with its own crop and pixel size.
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}
/>