dash_mp_components.SynthesisRecipeCard

class dash_mp_components.SynthesisRecipeCard(id: str | dict | None = None, className: str | None = None, data: dict | None = None, **kwargs)[source]

Bases: Component

A SynthesisRecipeCard component. Display synthesis recipe data in a standardized card view.

Keyword arguments:

  • id (string; optional):

    The ID used to identify this component in Dash callbacks.

  • className (string; optional):

    Class name(s) to append to the component’s default class (mpc-data-block).

  • data (dict; optional):

    Object (i.e. dictionary) of data to be displayed in the block. Data should be in the format returned for a single result from the synthesis API endpoint.

__init__(id: str | dict | None = None, className: str | None = None, data: dict | None = None, **kwargs)

Methods

__init__([id, className, data])

to_plotly_json()

Attributes

REQUIRED

UNDEFINED

available_wildcard_properties