Ship-It Designv0.0.21

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 *string—Filename to display.
sizeReactNode—Right-of-name label (size, status). Often `2.4 MB` or `failed`.
progressnumber | undefined—When set, renders a progress bar at the bottom (0..100). Used for upload UX.
iconReactNode—Replace the file-extension thumb.
onRemove(() => void) | undefined—When provided, renders a remove (×) button.
failedboolean | undefined—When true, signals an error state (red status text + red bar).