> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# Toolbar API overview

> Hooks and types from @portabletext/toolbar for building custom toolbars for the Portable Text Editor.

import {CardGrid, LinkCard} from '@astrojs/starlight/components'
import {PackageManagers} from 'starlight-package-managers'

The Toolbar API offers assorted hooks and types for building your own toolbars.

<PackageManagers pkg="@portabletext/toolbar" />

<CardGrid>
  <LinkCard
    title="Customize the toolbar"
    description="Learn more about building custom toolbars."
    href="/editor/guides/customize-toolbar/"
  />
</CardGrid>