newOS for Developers
Back to Overview
FolderCreate
input893 linesPlaygroundA comprehensive folder/space creation modal with tabs for settings, access control, and flow configuration.
Source Path
apps/web/Components/Model/folder/FolderCreate.tsxPackage
@newos/web
Exports
useFolderCreateForm()
Primary hook for folder creation form.
useFolderCreateModal()
Wrapper hook with modal state management.
API Calls
createFolder() — Creates a new folder/spaceupdateFolder() — Updates existing folder settingsgrantWriteAccessMulti() — Grants write access to multiple usersKey Features
Tabbed Interface
General, Access, and Flows tabs
License Types
open, licensed, private options
Contributors Management
Uses UserSelectBox for adding contributors
Gotchas
submissionInProgress Ref — Prevents duplicate submissions
Force Render Tabs — All tabs have forceRender: true