React

Content Placeholder

A visual placeholder that conveys the nature of the area when an image or content has not been loaded.

Available since@seed-design/react@1.2.8, @seed-design/css@1.2.6

Usage

Installation

npx @seed-design/cli@latest add ui:content-placeholder

Props

Prop

Type

Examples

Type Preset

You can use predefined preset icons and backgrounds by specifying type. If type is not specified, the "default" type is rendered.

Sizes

You can use various sizes by directly specifying width and height on the component.

Customizing Asset

  • You can use icons that are not in the type preset by passing children.

Table of contents