Does CheckboxGroup Support Toggling?

I am building an annotation tool and want to use the CheckboxGroup to show the current working progress. The texts that have been annotated will be checked, and users can keep track of which ones they have done and go to whatever text they want to annotate next.
My problem is that there are many texts for the users to annotate and the CheckboxGroup would have a long list. Is there a way to toggle the component so that it’s not taking too much space in the interfaec?

hi @cathrineee ,

Maybe you could use the gr.Accordion(open=False) component with option to toggle open an close

with gr.Accordion("See options here", open=False):
    gr.CheckboxGroup(...)