Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

[WIP] Allow components as tab labels #95

Closed
wants to merge 26 commits into from
Closed

Conversation

chriddyp
Copy link
Member

WIP
experiments in tabs enabled by plotly/dash-renderer#26

allows tabs to have components as labels, like:

dcc.Tabs(
    tabs=[
        {'label': 'Market Value', 'value': 1},
        {
            'label': dcc.Dropdown(
                id='my-dropdown',
                options=[
                    {'label': 'Option {}'.format(i), 'value': i}
                    for i in range(5)
                ]
            ),
            'value': 2
        },
        {'label': 'Predictions', 'value': 3},
        {'label': 'Target Pricing', 'value': 4},
    ],
    value=3,
)

would allow things like links, icons, or custom formatted tab labels.

@valentijnnieman
Copy link
Contributor

@chriddyp Could you verify if this WIP PR is still needed to be open? I'm trying to clean up all the PR's.

@Marc-Andre-Rivet
Copy link
Contributor

This PR seems very interesting but has been inactive for over a year. Closing. Do feel free to re-open if it becomes active again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants