Profile Card
Overview
The Avonni Profile Card displays a user or entity profile in a visually rich card layout. It combines a title and subtitle, a customizable background image, and an optional avatar with flexible positioning so you can highlight profile information in a structured, engaging way.
The Profile Card has no data source. Configure its content, appearance and avatar position in the Properties panel.

Projects
See how Profile Card fits into a complete Salesforce workflow. Each project includes steps to build it with AI or manually.

Add on to the highlight panel using Dynamic components and charts.
Configuration
To configure the Profile Card, select it on the canvas. The Edit Profile Card panel opens on the right with two tabs: Properties and Style. The sections below mirror the Properties tab.

Card
The first group controls the card's main content and its overall framing.
Title
The Title setting defines the heading shown at the top of the card. When you provide a title, the card's title slot will not appear directly in the canvas.
Subtitle
The Subtitle setting adds a line of text displayed under the title, useful for a role, location, or any secondary detail that supports the title.
Background Image
The Background Image setting lets you choose an image to display behind the card content. Use Select Image to pick a file; supported formats include APNG, AVIF, GIF, JPG, JPEG, PNG, SVG, and WEBP.
Content Pull Padding
The Content Pull Padding toggle, when enabled, adjusts the card's internal padding to visually pull the content closer to the edges of the card. It is off by default.
Avatar
The Avatar group is collapsible and controls the optional avatar shown on the card, including its image, shape, size, and position.
Image URL
The Image URL setting points to the image used as the avatar. Use Select Image to choose a file; supported formats include APNG, AVIF, GIF, JPG, JPEG, PNG, SVG, and WEBP.
Fallback Icon Name
The Fallback Icon Name setting defines the Lightning Design System icon shown in place of the avatar when the image fails to load.
Variant
The Variant setting controls the shape of the avatar:
Circle (default) — a rounded avatar.
Square — a square avatar.
Size
The Size setting controls how large the avatar appears. Choose the option that best fits your card layout:
X-Small — the smallest avatar.
Small — a compact avatar.
Medium (default) — the standard size, suitable for most cards.
Large — a more prominent avatar.
X-Large — the largest avatar.

Position
The Position setting places the avatar relative to the card. Choose from:
Top Left (default), Top Center, Top Right
Bottom Left, Bottom Center, Bottom Right
Left, Center, Right

Position on Small / Medium / Large Container
The three responsive position settings let the avatar move as the card's container grows wider, so the layout adapts to different screen sizes. They share the same options as Position and apply at progressively larger widths:
Position on Small Container — applies when the component is 480px wide or more.
Position on Medium Container — applies when the screen width is 768px or more.
Position on Large Container — applies when the screen width is 1024px or more.
Leave a responsive position empty to keep the avatar where the base Position setting placed it.
The three responsive positions are grouped under Advanced Options, at the bottom of the Avatar section.
Set Component Visibility
All components support conditional visibility — see Component Visibility.
Styling
Configure the Profile Card's appearance from the Style tab of the Edit Profile Card panel.
Controls the outer spacing around the card.
Top / Right / Bottom / Left: Adjust the space on each side.
Controls the inner spacing between the card's content and its border.
Top / Right / Bottom / Left: Adjust the inner spacing on each side.
Controls the card's dimensions.
Width / Height: Set fixed dimensions.
Min Width / Max Width / Min Height / Max Height: Constrain the size within bounds.
Overflow: Control how content that exceeds the bounds is handled.
Styles the card header (title and subtitle).
Background Color: Set the header background.
Title Text Color / Title Font Size / Font Style / Font Weight / Font Family: Style the title.
Subtitle Text Color / Subtitle Font Size / Font Style / Font Weight / Font Family: Style the subtitle.
Border Bottom Size / Border Bottom Color: Set the divider below the header.
Sets the card body background.
Background Color: Set the card background color.
Customizes the card border.
Color / Size / Radius: Set the border color, thickness, and corner rounding.
Last updated
Was this helpful?
