Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

UI Components

The @payloadcms/ui package contains the React components used throughout the Payload Admin Panel. You can use these components to build Custom Components that match the surrounding Admin Panel interface and behavior.

Each component guide includes working examples for the selected version of Payload, common props, accessibility guidance, and any providers or setup the component requires.

Actions & navigation

Trigger actions and help users move through custom Admin Panel interfaces.

Inputs & selection

Collect, edit, search, and select values with Admin-styled controls.

Layout & structure

Arrange content and create expandable, responsive interface sections.

Feedback & status

Communicate outcomes, validation, loading states, and contextual information.

Data display & lists

Present structured data, media, and collection controls.

Interaction & overlays

Build reorderable interfaces and contextual layers for focused interactions.

Documents & uploads

Extend document editing and upload-enabled Collection workflows.

Using UI components

Inside a Payload Admin Panel Custom Component, import components from @payloadcms/ui:

1
'use client'
2
3
import { Button } from '@payloadcms/ui'
4
5
export function SaveButton() {
6
return <Button>Save changes</Button>
7
}

Some components depend on context provided by the Admin Panel. Each guide calls out those requirements when a component cannot be rendered independently.

Was this page helpful?

Next

AnimateHeight