React

Callout

A message component that visually emphasizes and conveys important information or tips to users.

Available since@seed-design/react@0.0.1, @seed-design/css@0.0.1

Installation

npx @seed-design/cli@latest add ui:callout

Props

Callout

Prop

Type

prefixIcon?React.ReactNode
title?React.ReactNode
descriptionReact.ReactNode
linkProps?SeedCallout.LinkProps | undefined

ActionableCallout

Prop

Type

prefixIcon?React.ReactNode
title?React.ReactNode
descriptionReact.ReactNode

DismissibleCallout

Prop

Type

prefixIcon?React.ReactNode
title?React.ReactNode
descriptionReact.ReactNode
linkProps?SeedCallout.LinkProps | undefined
open?boolean | undefined
defaultOpen?boolean | undefined
onDismiss?(() => void) | undefined

Examples

Content Composition

Text Only

With Icon

With Title Text

ActionableCallout does not provide linkProps.

With All Elements

Customizable Elements

Tones

Neutral (Default)

Informative

Positive

Warning

Critical

Magic

Table of contents