Hilla upload component

How to use the hilla upload component? It have parameter for targetUrl.
I want to pass this to @BrowserCallable method.
What should be the @BrowserCallable method impliment ? Is there way to modify what data is auto uploaded? Not just send the file blob ?
Is there a way to modify the Attachments shown when we upload files? Can we add more fields in that attachments?

Did you look at this example that shows the basics? How to implement file uploading and downloading in Hilla React applications | Vaadin

If you just want to add more items to the upload list, just remove maxFiles={1} from the example in th docs.
If you also want to add more fields to each row, that sounds like a Grid with a column of type File. You should try to use AutoCRUD with a custom column to handle the File type.
It is possible, but requires some custom code.
I launched a GitHub discussion about how we could make it easier.