Render the record representation, leveraging the recordRepresentation prop of the parent <Resource> component.

You can also use its hook version: <useGetRecordRepresentation>.


// in src/posts/PostBreadcrumbs.tsx
import * as React from 'react';
import { Breadcrumbs, Typography } from '@mui/material';
import { Link, RecordRepresentation } from 'react-admin';

export const PostBreadcrumbs = () => {
    return (
        <div role="presentation">
            <Breadcrumbs aria-label="breadcrumb">
                <Link underline="hover" color="inherit" to="/">
                <Link underline="hover" color="inherit" to="/posts">
                <Typography color="text.primary">
                    <RecordRepresentation />

// in src/posts/PostEdit.tsx
import { EditBase, EditView, SimpleForm, TextInput } from 'react-admin';
import { PostBreadcrumbs } from './PostBreadcrumbs';

const PostEdit = () => (
        <PostBreadcrumbs />
                <TextInput source="title" />


Here are all the props you can set on the <RecordRepresentation> component:

Prop Required Type Default Description
record Optional RaRecord Record from the parent RecordContext The record to display
resource Optional string Resource from the parent ResourceContext The record’s resource


The record to display. Defaults to the record from the parent RecordContext.


The record’s resource. Defaults to the resource from the parent ResourceContext.