pacocoursey / cmdk

Fast, unstyled command menu React component.
https://cmdk.paco.me
MIT License
9.03k stars 258 forks source link

feature request: ability to have nested groups #275

Open danyadanch opened 3 weeks ago

danyadanch commented 3 weeks ago

To be honest now we can have nested Command.Group, but results of 2nd group is not searchable.


<Command.List>
   <Command.Group heading="Parent">
      <Command.Group heading="Child">
        <Command.Item>You can't find me</Command.Item>
      </Command.Group>
      <Command.Item>You can find me</Command.Item>
   </Command.Group>
</Command.List>
ringcrl commented 3 weeks ago

image

Similar issue, want to provide a secondary menu like Notion AI, and allow search

The search results are as follows: image