FragiolaPrimitives
Forms and selection

Avatar uploader

One profile photo: an image dropped on the zone or picked in the file dialog replaces the current one, its preview shown through an object URL (revoked when it is replaced or removed), and a button removes it.

  • FileUpload.Root
  • FileUpload.Label
  • FileUpload.Dropzone
  • FileUpload.Trigger
  • FileUpload.HiddenInput
  • FileUpload.Item
  • FileUpload.ItemPreview
  • FileUpload.ItemPreviewImage
  • FileUpload.ItemDeleteTrigger
  • accept
Read the guide
Theme
Framework