observable-framework-input-file
Installation
SKILL.md
Input: File
Observable Framework documentation: Input: File Source: https://observablehq.com/framework/input-file
API · Source · The file input specifies a local file and is intended for prompting the user to select a file from their own machine. The exposed value provides the same interface as FileAttachment for convenient parsing in various formats such as text, image, JSON, CSV, ZIP, and XLSX.
By default, any file is allowed, and the value of the input resolves to null.
const file = view(Inputs.file());
file
We recommend providing a label to improve usability.