Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Nov 19, 2026

About UI Kit

UI Kit lets you build Forge app frontends with React and pre-built components that render natively in Atlassian apps. Your frontend code runs in the browser, so it can handle state changes without calling a backend function for every update.

Components

Explore UI Kit components, which are reusable building blocks designed to streamline the development of user interfaces.

Using React in UI Kit

UI Kit apps use React to build their frontend, which enables you to use some React features.

Hooks

To import hooks to your app:

import React, { <hook name>} from 'react';

You should be able to use any React hooks that do not rely on an underlying DOM node or depend on any synchronous operations in the browser’s event loop. Hooks are now imported from react.

Supported hook types

  • useState

  • useEffect

  • useContext

  • useReducer

  • useCallback

  • useMemo

  • useRef

  • useDebugValue

  • useDeferredValue

  • useId

For more information on Hooks, see the Hooks API Reference official page.

Context

Forge UI Kit allows you to use the React context in your apps. For more information, see Context - React documentation.

JSX support

UI Kit supports JSX syntax, enabling developers to write declarative and highly readable code.

ComponentsJSX support
Components imported from @forge/reactyes
Function components composed of @forge/react componentsyes
Context providersyes
HTMLno

Bundling

By default, the Forge CLI bundles your UI Kit code when you deploy or tunnel your app. To use your own bundler, such as Vite, see manual packaging (Preview).

API requests

Making API requests in UI Kit is the same as in Custom UI. Whether a request is made from the client side or from the lambda depends on the request type.

Atlassian app fetch requests

Atlassian app fetch requests can be made in the frontend through @forge/bridge, i.e. in your App.js file. See requestJira, requestConfluence and requestBitbucket for documentation.

Non-Atlassian app fetch requests and the storage API

These requests will need to go through the lambda, and so you will need to set up a Resolver. See Forge resolver.

App context

Retrieve Atlassian app context via the getContext method on @forge/bridge. See Forge bridge view.

1
2
3
import { view } from '@forge/bridge';
const context = await view.getContext();

Known limitations and issues

Limitations

Issues

  • Using TypeScript for resolver files causes deployment failures. You will get an error like TS2304: Cannot find the name “Forge UI“ when doing a forge deploy. You can work around this by adding a rule into the tsconfig.json file to only include the src file.

Rate this page: