Skip to content

New Toggle Button #804

@pawelgrimm

Description

@pawelgrimm

🚀 Feature request

Motivation

We have already introduced the concept of a "toggle button" in Todoist and this is something we're likely to use in other parts of the app. It looks like this:
image

Basically, it's just a normal button, but it also represents the on/off state of something.

Example

A sidebar component that can be opened by clicking a button, such as the unscheduled tasks sidebar in the upcoming Calendar layout:
image

Possible implementations

We should:

  • Add styling for the "active" state
  • Add distinct tooltip content for each the on/off state
  • Consider accessibility — should this be a semantic checkbox?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions