# Sidebar Extension API reference

Access our API reference for sidebar extension.

```ts
function useFormSidebarExtension(): FormSidebarExtensionProps;

export interface FormSidebarExtensionProps extends ExtensionPropsBase {
  extension: {
    // global extension config
    config: Record<string, any>;
    // sidebar instance config
    sidebarConfig: Record<string, any>;
  };

  form: Form;
  model: Model;
  allLocales: Locale[];
  stages: Stage[];

  entry?: {
    id: string | null;
    createdBy?: User;
    updatedBy?: User;
    createdAt?: string;
    updatedAt?: string;
  };
}
```
