# Function: Caption() > **Caption**(`props`): `JSX.Element` Render the caption of a month. The caption has a different layout when setting the [DayPickerBase.captionLayout](../interfaces/DayPickerBase.md#captionlayout) prop. ## Parameters | Parameter | Type | | :------ | :------ | | `props` | [`CaptionProps`](../interfaces/CaptionProps.md) | ## Returns `JSX.Element` ## Source [src/components/Caption.tsx:37](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/components/Caption.tsx#L37)