label: File input
status: ready
collated: true

variants:
  - name: default
    context:
      id: single
      label: Input accepts a single file

  - name: specific
    context:
      id: specific
      label: Input accepts only specific file types
      hint: Select PDF or TXT files
      multiple: true
      accept:
        - .pdf 
        - .txt

  - name: wildcard
    context:
      id: wildcard
      label: Input accepts any kind of image
      hint: Select any type of image format
      multiple: true
      accept:
        - image/*

  - name: multiple
    context:
      label: Input accepts multiple files
      id: multiple
      hint: Select one or more files
      multiple: true

  - name: error
    context:
      id: error
      label: Input has an error
      hint: Select any valid file
      error: true
      errorMessage: Display a helpful error message

  - name: disabled
    context:
      id: disabled
      label: Input in a disabled state
      disabled: true
