x
1
2
3
4
5
6
<label class="block"> <span class="sr-only"> Choose a file </span> <input type="file" class="bg-white file:border-0 border file:font-semibold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100 block w-full rounded-lg border-gray-300 focus:border-blue-500 focus:ring-blue-500 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-100 dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500 dark:file:bg-gray-600 dark:file:text-gray-100 dark:hover:file:bg-gray-500 dark:[color-scheme:dark] file:text-sm file:mr-3 text-sm file:py-2 file:px-3"></label>| Param | Description | Input |
|---|---|---|
|
— |
|
|
|
— |
|
|
|
— |
|
1
render ui.form.file(text, size: size, width: width)