Doist / reactist

Open source React components made with ❤️ by Doist
http://doist.github.io/reactist
MIT License
247 stars 21 forks source link

New Toggle Button #804

Open pawelgrimm opened 10 months ago

pawelgrimm commented 10 months ago

🚀 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:

Siddharth1605 commented 7 months ago

@pawelgrimm shall I contribute to the project, by adding this feature.

pawelgrimm commented 6 months ago

Hi @Siddharth1605! We actually already have most of this feature implemented in Todoist, we just need to port it over to Reactist.