{# @description daisyUI's file input: a native file picker. type is written by the template — file-input does not accept it, and a caller passing type would produce a duplicate attribute the browser resolves to the first. A control still needs a c-form.label, an aria-label or an aria-labelledby for its accessible name. See the fieldset gallery entry for labelled, disabled and invalid examples. #}
{# @prop variant:select['neutral','primary','secondary','accent','info','success','warning','error'] | description:"Colour variant." #}
{# @prop size:select['xs','sm','md','lg','xl'] | description:"File input size." #}
{# @prop ghost:boolean | description:"Draw the file input with no background until focused." #}
{# @prop class:text | description:"Extra classes added to the file input." #}
{% load daisy_cotton %}
{# djlint:off #}
{# djlint:on #}