LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Installation & License Management
    • Quick Start Guide
    • Learning the Basics
    • Reactive Data Components
  • Experience Components
    • 🖼️View All Components
    • Accordion
    • Accordion Section
    • Alert
    • Audio
    • Avatar
    • Avatar Group
    • Banner
    • Bar Code
    • Blockquote
    • Button
    • Button Dialog
    • Button Group
    • Button Menu
    • Calendar
    • Card
    • Chip Container
    • Container
    • Data Table
    • Feed
    • Gallery
    • Icon
    • Illustration
    • Image
    • Kanban
    • Language Selector
    • Layout
    • List
    • Map
    • Media Object
    • Metric
    • Navigation
    • Profile Card
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Publisher
    • Record Detail
    • Separator
    • Tabs
    • Text Block
    • Timeline
    • Video
  • Properties Panel
    • Appearance
    • Interactions
      • Show Toast
      • Navigate
      • Open Alert Modal
      • Open Confirm
      • Open Flow Dialog
  • Tutorials
    • General
      • Expressions for Aura Sites
      • Expressions for LWR Sites
    • Components
      • Banner
        • With Illustration and Buttons
        • With Content centered
      • Card
        • Creating a MapCard Showcase
      • Data Table
        • Configuring the Data Table to display current related record information
        • Displaying Salesforce CMS Files in a Data Table
      • Image
        • Utilizing Avonni Image Component for Before-and-After Image Comparisons
      • Layout
        • Configuring the Layout to be responsive
      • Map
        • Set up the map to show record details information
      • Profile Card
        • Set up the Profile Card to display current user information
      • Tabs
    • Interactions
      • Configure the Open Flow Dialog to open a flow by clicking a button
    • Reactive Components
      • Interactive Map
      • Linked Data Tables
      • Guide to Implementing
    • Use Cases
      • Building a record detail page header
      • Creating a MapCard Showcase
      • Creating a Grid Layout
      • Utilizing Avonni Image Component for Before-and-After Image Comparisons
  • HELP
    • How do I contact support?
    • How do I report bugs?
    • Release Notes
    • Security
Powered by GitBook
On this page
  • Overview
  • Configuring the Avonni Card
  • Add a card title
  • Show Header
  • Show Footer
  • Content Pull Padding
  • Tutorials
  • Appareance
  • Size
  • Header
  • Media
  • Border

Was this helpful?

  1. Experience Components

Card

Last updated 1 year ago

Was this helpful?

LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service

Overview

The Avonni Card Component is designed to showcase various content in a structured, visually appealing manner. Cards are instrumental in creating well-organized, easily digestible content layouts for displaying product details, profiles, articles, and more.

This component leverages slots for advanced customization, making it ideal for LWR sites. Aura sites do not support this level of customization.

Configuring the Avonni Card

Add a card title

Give your Avonni Card a clear and informative title to help users quickly identify its content. Here's how:

  • Find the "Card Title" attribute: This setting is within the Avonni Card component's configuration options in your Experience Cloud site builder.

  • Enter your title: Type in the text you want to display as the title. Keep it concise and descriptive.

  • Placement: The title will automatically appear on the left side of your Avonni Card, providing a visual anchor point.

Example:

If your Avonni Card displays product information, you could use a Card Title like "Location".

Show Header

Enable the "Show Header" attribute to add a versatile container at the top right of your Avonni Card. This lets you:

  • Customize card content: You can drag and drop other components, such as buttons, icons, or additional text, directly into the header.

  • Create flexible layouts: Arrange elements within the header to achieve your card's perfect look and functionality.

Example: Add a "Create New Case" button on a customer account page. Clicking this button would trigger a flow dialog that guides the user through submitting a new support case and collecting all necessary information.

Show Footer

This option enables a footer section at the bottom of your Avonni Card. You can use the provided footer slot to add content like links, buttons, or additional text.

Content Pull Padding

Adjust the spacing around the content within your card. Use this setting to create a tighter layout with the content flush against the border or add more breathing room.

Tutorials

Name
Description

Creating a MapCard Showcase

Learn to create a MapCard Showcase with Avonni Card and Map components

Appareance

Size

  • Width: Controls the horizontal width of the card. You can use fixed widths (pixels, percentages) or allow the card to adapt to its content or container size.

  • Height: Controls the vertical height of the card. Similar to width, you can use fixed or flexible height settings.

  • Overflow: Dictates how the card handles content that exceeds its dimensions. Options might include:

    • Visible: Content flows outside the card's boundaries.

    • Hidden: Content is clipped at the card's edges.

    • Scroll: Adds scrollbars to the card if content overflows.

Header

  • Background Color: Sets the background color of the card's header area.

  • Text Color: Sets the color of any text elements within the header.

  • Font Size: Controls the size of the header text.

  • Font Weight: Sets the boldness of the header text (e.g., normal, bold, light).

  • Font Family: Specifies the typeface used for the header text.

  • Border Bottom Size: Sets the thickness of the bottom border separating the header from the main card content.

  • Border Bottom Color: Sets the bottom border color in the header.

Media

  • Width: Controls the width of the card's media section (likely for images or videos).

  • Height: Controls the height of the card's media section.

  • Object Fit: Determines how an image or video should be resized to fit within its container. Options include:

    • Fill: Stretches the content to fill the space, potentially distorting aspect ratio.

    • Contain: Scales the content to fit fully within the space, potentially leaving blank areas.

    • Cover: Scales the content to cover the entire space, potentially cropping.

    • None: Displays the content at its original size.

    • Scale Down: Content scales down if it would exceed container dimensions, otherwise displays at original size.

  • Border Size: Controls the thickness of the border around the media element.

  • Border Color: Sets the color of the border around the media element.

Border

  • Size: Sets the overall thickness of the border surrounding the entire card.

  • Radius: Controls how rounded the corners of the card are.

  • Color: Sets the color of the card's border