Skip to main content
TableCellFallback
@coinbase/cds-web@8.38.5
Shows a loading state for Table cells.
import { TableCellFallback } from '@coinbase/cds-web/tables/TableCellFallback'

Basic usage

Loading...

Media Types

Loading...

Custom Rectangle Widths

Rectangular fallback widths

This component contains rectangular fallbacks, the widths for which are randomized within a predetermined threshold by default (e.g. to add some variety when mulitple fallbacks are presented together). If this behavior is undesirable (e.g. in server-side rendered web apps), randomization can be disabled with the disableRandomRectWidth prop.


Alternatively, you may create a variant with different rectangle widths by setting a number value on the rectWidthVariant prop. Variants map to a predetermined set of width values, which are cycled through repeatedly when the set is exhausted. Therefore, it's still possible to achieve some variety in your fallbacks, but in a deterministic manner (i.e. safe for server-side rendering). Here's an example:



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.