Skip to main content
The Box Content Sidebar UI Element allows developers to add support for viewing file related metadata and Activity Feed (incl. versions, comments and tasks) in their desktop or mobile web application.

Installation

Box UI elements either through NPM or the Box CDN.

Authentication

The UI Elements are designed in an authentication agnostic way so whether you are using UI Elements for users who have Box accounts (Managed Users) or non-Box accounts (App Users), UI Elements should work out of the box. The reason for this is that UI Elements only expect a “token” to be passed in for authentication, and Box provides two different ways to generate tokens - OAuth and JWT.

Learn about selecting an authentication method

Sample HTML

Demo

Stand-alone Sidebar

API

Parameters

Options

detailsSidebarProps

Scopes

If your application requires the end user to only be able to access a subset of the Content Sidebar’s functionality, you can use to appropriately downscope the Access Token to a resulting token that has the desired set of permissions, and can thus, be securely passed to the end user client initializing the Content Sidebar. Below are a set of UI Element-specific scopes to go alongside Downscoping. These allow developers to enable/disable UI controls on the Content Sidebar by configuring the appropriate scopes on the downscoped token. To learn more, see .

Base Scope

Feature Scopes

Last modified on June 19, 2026