From 0c6a00cfa79f91a3d2dbdecd743d6a009bcebdf6 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 24 Oct 2025 01:52:33 +0000 Subject: [PATCH 1/3] docs: add image props documentation for Card component - Add section on adding images to cards with examples - Document src, imagePosition, imageWidth, and imageHeight props - Include examples showing left and top image positions - Note that imageWidth/imageHeight are optional as images auto-resize Co-Authored-By: Catherine Deskur --- .../default-components/cards.mdx | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/fern/products/docs/pages/component-library/default-components/cards.mdx b/fern/products/docs/pages/component-library/default-components/cards.mdx index ec6dc5a79..3a48cd576 100644 --- a/fern/products/docs/pages/component-library/default-components/cards.mdx +++ b/fern/products/docs/pages/component-library/default-components/cards.mdx @@ -77,6 +77,56 @@ You can use individual cards or [use the `CardGroup` component](/docs/writing-co +## Adding images to cards + +Cards support displaying images alongside content. The image automatically resizes to fit the card dimensions, so you typically don't need to specify `imageWidth` or `imageHeight` unless you want to override the default behavior. + + + + + Display an image alongside your card content. The image automatically scales to fit the card. + + + +```jsx + + Display an image alongside your card content. The image automatically scales to fit the card. + +``` + + + + + + + Position the image at the top of the card for a banner-style layout. + + + +```jsx + + Position the image at the top of the card for a banner-style layout. + +``` + + + ## Properties @@ -100,3 +150,15 @@ You can use individual cards or [use the `CardGroup` component](/docs/writing-co Hex color value for the icon in light mode (e.g. `#FF0F00`) + + URL of the image to display in the card. When set, the card displays the image alongside the content. + + + Position of the image relative to the card content. Use `imagePosition` to control the layout. + + + Width of the image (e.g. `200px`, `50%`). Only use if you need to override the default sizing. The image automatically resizes to fit the card by default. + + + Height of the image (e.g. `150px`, `100%`). Only use if you need to override the default sizing. The image automatically resizes to fit the card by default. + From f73117dff689cb7dc8b7bf8f9e3e110a5224e1b3 Mon Sep 17 00:00:00 2001 From: Catherine Deskur <46695336+chdeskur@users.noreply.github.com> Date: Thu, 23 Oct 2025 22:23:49 -0400 Subject: [PATCH 2/3] Update 2025-10-23.mdx --- fern/products/sdks/overview/java/changelog/2025-10-23.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/products/sdks/overview/java/changelog/2025-10-23.mdx b/fern/products/sdks/overview/java/changelog/2025-10-23.mdx index 080598c2f..b2110807a 100644 --- a/fern/products/sdks/overview/java/changelog/2025-10-23.mdx +++ b/fern/products/sdks/overview/java/changelog/2025-10-23.mdx @@ -1,6 +1,6 @@ ## 3.9.2 **`(fix):`** Fix nullable field serialization in PATCH requests with wrapped request bodies. Explicit null values -(Nullable.ofNull()) are now correctly serialized as {"field": null} instead of being omitted like +(Nullable.ofNull()) are now correctly serialized as `{"field": null}` instead of being omitted like Nullable.empty(). From ae225ea254993ff5544aab38088a19a76d3a6ded Mon Sep 17 00:00:00 2001 From: Catherine Deskur <46695336+chdeskur@users.noreply.github.com> Date: Thu, 23 Oct 2025 22:27:04 -0400 Subject: [PATCH 3/3] Update cards.mdx --- .../pages/component-library/default-components/cards.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fern/products/docs/pages/component-library/default-components/cards.mdx b/fern/products/docs/pages/component-library/default-components/cards.mdx index 3a48cd576..c37b19711 100644 --- a/fern/products/docs/pages/component-library/default-components/cards.mdx +++ b/fern/products/docs/pages/component-library/default-components/cards.mdx @@ -85,7 +85,7 @@ Cards support displaying images alongside content. The image automatically resiz Display an image alongside your card content. The image automatically scales to fit the card. @@ -95,7 +95,7 @@ Cards support displaying images alongside content. The image automatically resiz ```jsx Display an image alongside your card content. The image automatically scales to fit the card. @@ -108,7 +108,7 @@ Cards support displaying images alongside content. The image automatically resiz Position the image at the top of the card for a banner-style layout. @@ -118,7 +118,7 @@ Cards support displaying images alongside content. The image automatically resiz ```jsx Position the image at the top of the card for a banner-style layout.