Skip to main content

Card Content

shadow

This element is for use in the tab to hold the primary contents of the tab.

Note

For more information on using Card Content, navigate to the Card element documentation.

When to use

Use wje-card-content to improve readability, scannability, and contextual understanding of content.

When not to use

Do not replace structured interactive data with media-only presentation when precision is needed.

Accessibility

Provide alt text, maintain readable contrast, and include text equivalents for icon-only controls.

Best Practices

  • Compress media and use lazy loading in larger collections.
  • Keep information priority consistent across cards/lists.
  • Avoid duplicating the same meaning in icon and text without added value.

Attributes and Properties

No properties available for this component.

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

NameDescription
--wje-card-paddingPadding of the component;.

Slots

NameDescription
defaultThe card content main content.