A plug-and-play UI library that enables Web3 applications to embed Storacha console features directly into their interface, eliminating redirect-based UX and double navigation.
The toolkit provides headless React components with complete logic and no styling dependencies, giving you full control over appearance. Applications can quickly integrate Storacha features such as authentication, space management, file operations, and account settings.
- Email-based authentication flow
- Session management
- Iframe support for embedded contexts
- SpacePicker - List and select spaces
- SpaceCreator - Create public or private spaces
- SpaceList - List content within a space with pagination
- SpaceEnsurer - Ensure a space is selected before rendering
- ImportSpace - Import existing spaces
- PlanGate - Plan selection and validation
- UploadTool - Upload files, directories, or CAR files
- Drag & drop support
- Real-time progress tracking
- Support for public and private spaces
- FileViewer - View file details (Root CID, Gateway URL, Shards)
- File removal with shard management
- SharingTool - Share spaces via email or DID
- Delegation management
- Revocation support
- SettingsProvider - Account settings context
- RewardsSection - Display referral counts, credits, and points
- AccountOverview - Show account email and current plan
- UsageSection - Display storage usage and per-space breakdown
- AccountManagement - Account deletion and management
- ChangePlan - Plan selection and billing administration
# Install headless components
npm install @storacha/console-toolkit-react @storacha/ui-coreComplete working examples are available in the examples/ directory:
- headless-auth - Custom styling with headless components
- styled-auth - Pre-styled components with console-exact UI
- iframe-auth - Embedded authentication in iframe context
- space-management - Complete space management with upload, file viewing, sharing, and settings
Integration examples:
- dmail-integration - Dmail email authentication integration
- web3mail-integration - Web3Mail (EtherMail) authentication integration
See the Integration Guide for detailed documentation.
# Install dependencies
pnpm install
# Build packages
pnpm build
# Run examples
cd examples/space-management && pnpm dev
cd integration-guide/dmail-integration && pnpm dev
cd integration-guide/web3mail-integration && pnpm devDual-licensed under MIT + Apache 2.0