Ship-It Designv0.0.3
GitHub

FileChip

Each example below is a real component instance — flip the theme toggle to see how it adapts.

Complete#

runbook-oncall.pdf
2.4 MB

Uploading#

Loading…

Failed#

Loading…

Stack#

Loading…

Props#

Props for FileChip
PropTypeDefaultDescription
name *stringFilename to display.
sizeReactNodeRight-of-name label (size, status). Often `2.4 MB` or `failed`.
progressnumber | undefinedWhen set, renders a progress bar at the bottom (0..100). Used for upload UX.
iconReactNodeReplace the file-extension thumb.
onRemove(() => void) | undefinedWhen provided, renders a remove (×) button.
failedboolean | undefinedWhen true, signals an error state (red status text + red bar).