pacocoursey / cmdk

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

feature request: ability to have nested groups #275

Open danyadanch opened 5 months ago

danyadanch commented 5 months 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 5 months ago

image

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

The search results are as follows: image