Skip to main content

Dash Ant Design

Ant Design components for Plotly Dash.

Installation

pip install dash-ant-design

Usage

import dash_antd_components as dac

Documentation development

The documentation source is split by responsibility:

  • docs/<category>/<component>.md contains page prose and demo/api directives.
  • docs/examples/ contains executable Dash layouts and callbacks.
  • docs/__init__.py provides the Flask application factory.
  • docs/extensions/ registers Dash and Flask-Babel with the Flask application.
  • docs/*.py contains localization, CLI, and API generation modules.
  • docs/_generated/api.json is generated from component metadata and Python signatures.
  • docs/app.py configures the Dash layout and callbacks.

Regenerate and validate the API documentation after changing component metadata:

pnpm run build:docs
pnpm run check:docs
uv run python -m docs

Translation catalogs are maintained through the Flask CLI:

uv run flask --app docs translate update
uv run flask --app docs translate compile
uv run flask --app docs translate check

Component pages use /components/<component> and standalone demos use /examples/<demo-id>. Legacy /components#<demo-id> links are normalized automatically.

Documentation MCP server

The deployed documentation application exposes a read-only Dash MCP server at https://<documentation-host>/_mcp. It provides version information, component and property discovery, localized API documentation, and runnable example source through the following tools:

  • dac_get_library_info
  • dac_list_components
  • dac_get_component
  • dac_search_props
  • dac_get_examples

Add the published documentation server to Codex:

codex mcp add dash-antd-components-docs \
  --url https://<documentation-host>/_mcp

Or add it to Claude Code:

claude mcp add dash-antd-components-docs \
  --transport http \
  --scope user \
  https://<documentation-host>/_mcp

Other Streamable HTTP MCP clients can use:

{
  "mcpServers": {
    "dash-antd-components-docs": {
      "type": "http",
      "url": "https://<documentation-host>/_mcp"
    }
  }
}

React compatibility

The JavaScript bundle is built and tested with React 19.2.4 by default while remaining compatible with React 18.3.1. React is provided by Dash at runtime and is not bundled or selected when this package is imported.

React 19 requires a Dash version that includes Plotly Dash PR #3880. Until that support is released, the test suite uses the same umd-react resources and compatibility shim as that PR without changing the package's stable Dash dependency.

REACT_VERSION=19.2.4 python app.py

To run an application or the compatibility suite with React 18:

REACT_VERSION=18.3.1 python app.py
pnpm run test:react18

Release files for dash-ant-design 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dash-ant-design 0.1.0
File Size Uploaded
dash_ant_design-0.1.0.tar.gz 4.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dash-ant-design 0.1.0
File Interpreter ABI Platform
dash_ant_design-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 MB

Release files / dash_ant_design-0.1.0.tar.gz

Download URL dash_ant_design-0.1.0.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
c6219961b215e0e1cb6ec845164f8b636c66dea9dfac299223c1b42a0c1e0b2b
BLAKE2b-256 checksum
How to use checksums
2b1b40fe97a5084f4ccc71098aa502ba996fdecf0b364a6c79ad61f4635bd3b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / dash_ant_design-0.1.0-py3-none-any.whl

Download URL dash_ant_design-0.1.0-py3-none-any.whl
Size 4.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6c1e10e9cc2d290a43d952f1ba3366c91dfefb4ad179fa82efa04f37d17d29ac
BLAKE2b-256 checksum
How to use checksums
b6a93a69e1efe59f85a1faf7627becf7bb025a1de78a08051603e91643b2182e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page