What’s New in Dash 4

Dash 4.0 updates the styling of Dash Core Components and introduces some new features.

Dash Core Components

Styling Updates

Visual components styles have been updated with this release:

See the Dash Core Components documentation for examples.

Note: If your app uses custom CSS that targets Dash Core Components, you may need to update your stylesheets when upgrading to Dash 4.

Default Value Changes

Some component properties now have new defaults.

New Properties and Functionality

Dash 4.0 introduces the following new functionality on existing components:

New Components

dcc.Button

The new dcc.Button works the same as html.Button but is styled to match other Dash Core Components.

from dash import dcc

dcc.Button("Click Me", id="my-button")

See the dcc.Button documentation for more examples.

Dash Design Kit Compatibility