- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Command
Renders an unhighlighted code block, useful for one-liners or API Routes
localhost:9000/store/products
Was this example helpful?
Usage#
API Reference#
This component is based on the div element and supports all of its props
Usage Outside Medusa Admin#
If you're using the Command
component in a project other than the Medusa Admin, make sure to include the TooltipProvider
somewhere up in your component tree, as the Command.Copy
component uses a Tooltip: