@shcnwc/shadcn-command-web-component
v1.3.2
Published
Fast, composable, unstyled command menu for Svelte.
Readme
Command
Fast, composable, unstyled command menu for Svelte.
Installation
npm install @shcnwc/shadcn-command-web-componentUsage
<script type="module">
import "@shcnwc/shadcn-command-web-component";
</script>
<command-root>
<command-input placeholder="type a command or search---" />
<command-list>
<command-empty>no results found-</command-empty>
<command-group heading="suggestions">
<command-item>calendar</command-item>
<command-item>search emoji</command-item>
<command-item>calculator</command-item>
</command-group>
<command-separator />
<command-group heading="settings">
<command-item>profile</command-item>
<command-item>billing</command-item>
<command-item>settings</command-item>
</command-group>
</command-list>
</command-root>Links
Contributing
Contributions are welcome! Please open an issue or pull request on GitHub.
License
This project is licensed under the MIT License.
