Forms / COMPONENT
Fileupload
Input upload berkas tunggal atau multiple.
import { Fileupload } from "./vendor/syne-ui/index.js";TypeScript readyTry the controls above.
Interactive example · Try the controls with your mouse or keyboard.
Start with an example
Import the component and adapt it to your interface.
Example.tsxTSX
import { Fileupload } from "./vendor/syne-ui/index.js";
export function Example() {
return (
<Fileupload aria-label="Attachments" accept=".pdf,.png" multiple onFilesChange={(files) => console.log(files)} />
);
}Make it yours
Use className and --syne-* tokens to match your design system.
