Skip to content
Corex

File Upload Live

Style

Same file-upload modifier classes on the root (semantic, size, radius, max width). Live upload uses the same stylesheet.

Semantic

Use class="ui-{role}" to set the semantic palette of a file upload.

Available options: accent, alert, brand, info, success

Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here

Variant

Variant modifiers control file-upload surface treatment. Default is subtle (neutral fill and border; semantic roles tint text ink); add ui-solid for a filled surface.

Drag your file(s) here
Drag your file(s) here

Semantic × variant

Combine semantic palette and variant treatment on the same host, for example file-upload ui-accent ui-solid.

Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here

Size

Use class="ui-size-{size}" to set the size of a file upload.

Available options: xs, sm, md (default), lg, xl

Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here

Rounded

Use class="ui-rounded-{step}" to set the corner radius of a file upload.

Available options: none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, full (default)

Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here
Drag your file(s) here

Max width

Without max-w-*, width comes from component CSS. Default for file-upload: md (width: 100%).

Use class="max-w-{step}" to set the maximum width of a file upload root.

Available options: none, full, 9xs, 8xs, 7xs, 6xs, 5xs, 4xs, 3xs, 2xs, xs, sm, md (default), lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, 8xl, 9xl

default (md)

Drag your file(s) here

none

Drag your file(s) here

full

Drag your file(s) here

9xs

Drag your file(s) here

8xs

Drag your file(s) here

7xs

Drag your file(s) here

6xs

Drag your file(s) here

5xs

Drag your file(s) here

4xs

Drag your file(s) here

3xs

Drag your file(s) here

2xs

Drag your file(s) here

xs

Drag your file(s) here

sm

Drag your file(s) here

md

Drag your file(s) here

lg

Drag your file(s) here

xl

Drag your file(s) here

2xl

Drag your file(s) here

3xl

Drag your file(s) here

4xl

Drag your file(s) here

5xl

Drag your file(s) here

6xl

Drag your file(s) here

7xl

Drag your file(s) here

8xl

Drag your file(s) here

9xl

Drag your file(s) here