Skip to main content
Tara_Price2
Active Member
November 17, 2023
Question

Mixed state checkbox

  • November 17, 2023
  • 5 replies
  • 550 views

Looking for some help with variables. I’m creating a table list as below. I want it to show as mixed when some, but not all of the documents are selected. But be able to toggle all documents on or off. Any suggestions would be greatly appreciated.

This topic has been closed for replies.

5 replies

Tara_Price2
Active Member
November 17, 2023

Basically I want to use a selection of another layer to change a component between states that do not have a strict true / false option.

Gayani_S
Figmate
Community Support
November 21, 2023

Hey Tara, thank you for reaching out! I am just trying to recreate this. I’ll come back to your if I have found a good workaround.

Tara_Price2
Active Member
November 28, 2023

I manage to get something working, but it is incredibly complex. I ended up adding two booleans for the component. One for selected, one for mixed.

Nate_G
Power Member
November 28, 2023

There were 2 forum questions a while back around checkboxes that I put together some examples that may help.

Example 1 - Select all + counter
Example 2 - Enable/disable checkboxes

Nate G
Tara_Price2
Active Member
February 16, 2024

SOLVED.

With some of the recent updates to Figma, I’m able to set a “none” state using strings. with mixed and all variants.