Skip to main content
ContentCell
@coinbase/cds-web@8.34.1
A versatile cell component for displaying content with optional metadata.
This component is deprecated. Please use ListCell instead.
Import
import { ContentCell } from '@coinbase/cds-web/cells/ContentCell'
SourceView source codeStorybookView StorybookFigmaView Figma (internal only)
Related components
View as Markdown

Basic usage

Loading...

Spacing variants

Loading...

When spacingVariant="condensed", meta content is aligend with the accessory.

Meta and truncation

Loading...

With media and accessory

Loading...
Tip

Adjust the media paddingTop so the visual aligns with the text stack.

Compact spacing (legacy)

Loading...

Selected state

Loading...

Loading states

The ContentCellFallback component provides loading state representations of ContentCell. It uses placeholder rectangles to indicate where content will appear, creating a smooth loading experience. Each placeholder can have its width determined by a predefined set of values, which can be selected using the rectWidthVariant prop. The web version uses percentage-based widths and custom layouts to match the ContentCell structure.

Loading...

Is this page useful?

Coinbase Design is an open-source, adaptable system of guidelines, components, and tools that aid the best practices of user interface design for crypto products.