Components / AI components / Coding & artifacts
Coding workspaceExperimental alpha

FileExplorer

Folder, detailed-list and directory views with snapshot-bound opening and host windows.

FileExplorer preview

Loading example…

Interactions use local sample data.

Usage and props

Provide current bounded public file windows, versions and authorization. Acknowledge opening/page requests against scope. Folder view uses disclosures; compact groups directories. UI never reads a filesystem.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

files · context? · selection? · onRequestOpen? · expandedPaths · query? · pagination? · status
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard