# @medusajs/ui

Latest version **4.2.6** (published 2026-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @medusajs/ui
pnpm add @medusajs/ui
yarn add @medusajs/ui
bun add @medusajs/ui
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.2.6 |
| Published | 2026-09-28 |
| First published | 2023-07-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 19 |
| Unpacked size | 2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 36487 |
| Author | Kasper Kristensen |
| Maintainers | sebrindom, oliverjuhl, nicolas-gorga, sradevski, olijuhl, shahednasser |

## Links

- npm: https://www.npmjs.com/package/@medusajs/ui
- Repository: https://github.com/medusajs/medusa
- Homepage: https://github.com/medusajs/medusa#readme
- Issues: https://github.com/medusajs/medusa/issues
- npm.io page: https://npm.io/package/@medusajs/ui

## Dependencies (19)

- [cva](https://npm.io/package/cva.md) 1.0.0-beta.1
- [clsx](https://npm.io/package/clsx.md) ^1.2.1
- [sonner](https://npm.io/package/sonner.md) ^1.5.0
- [prismjs](https://npm.io/package/prismjs.md) ^1.30.0
- [radix-ui](https://npm.io/package/radix-ui.md) 1.1.2
- [react-aria](https://npm.io/package/react-aria.md) ^3.33.1
- [@dnd-kit/core](https://npm.io/package/@dnd-kit/core.md) ^6.1.0
- [react-stately](https://npm.io/package/react-stately.md) ^3.31.1
- [lodash.isequal](https://npm.io/package/lodash.isequal.md) ^4.5.0
- [tailwind-merge](https://npm.io/package/tailwind-merge.md) ^2.2.1
- [@medusajs/icons](https://npm.io/package/@medusajs/icons.md) 2.21.2
- [@dnd-kit/sortable](https://npm.io/package/@dnd-kit/sortable.md) ^8.0.0
- [copy-to-clipboard](https://npm.io/package/copy-to-clipboard.md) ^3.3.3
- [@dnd-kit/utilities](https://npm.io/package/@dnd-kit/utilities.md) ^3.2.2
- [prism-react-renderer](https://npm.io/package/prism-react-renderer.md) ^2.0.6
- [@tanstack/react-table](https://npm.io/package/@tanstack/react-table.md) 8.20.5
- [@radix-ui/react-dialog](https://npm.io/package/@radix-ui/react-dialog.md) 1.1.4
- [react-currency-input-field](https://npm.io/package/react-currency-input-field.md) ^3.6.11
- [@radix-ui/react-dismissable-layer](https://npm.io/package/@radix-ui/react-dismissable-layer.md) 1.1.4

## Recent versions

- 4.2.6 (latest) — 2026-09-28
- 4.2.6-snapshot-20260928075521 (snapshot) — 2026-09-28
- 4.2.6-preview-20260925133948 (preview) — 2026-09-25
- 4.1.16-options-preview-20260605124754 (options-preview) — 2026-06-05
- 4.0.0-rc-20241022183311 (rc) — 2024-10-22
- 3.0.1-next-20240505114610 (next) — 2024-05-05
- 0.0.0-alpha-20230713141422 (alpha) — 2023-07-13
- 0.0.0-beta-20230713134437 (beta) — 2023-07-13
- 0.0.0-canary-20230712083110 (canary) — 2023-07-12
- 4.2.6-snapshot-20260925150426 — 2026-09-25
- 4.2.5 — 2026-09-22
- 4.2.5-preview-20260922104932 — 2026-09-22
- 4.2.5-preview-20260922093132 — 2026-09-22
- 4.2.5-preview-20260922080739 — 2026-09-22
- 4.2.5-preview-20260921152858 — 2026-09-21
- … 201 more at https://npm.io/package/@medusajs/ui/versions

## README

<p align="center">
  <a href="https://www.medusajs.com">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/59018053/229103275-b5e482bb-4601-46e6-8142-244f531cebdb.svg">
    <source media="(prefers-color-scheme: light)" srcset="https://user-images.githubusercontent.com/59018053/229103726-e5b529a3-9b3f-4970-8a1f-c6af37f087bf.svg">
    <img alt="Medusa logo" src="https://user-images.githubusercontent.com/59018053/229103726-e5b529a3-9b3f-4970-8a1f-c6af37f087bf.svg">
    </picture>
  </a>
</p>
<h1 align="center">
  Medusa UI
</h1>

<h4 align="center">
  <a href="https://docs.medusajs.com/ui">Documentation</a> |
  <a href="https://www.medusajs.com">Website</a>
</h4>

<p align="center">
  Medusa's admin component library.
</p>
<p align="center">
  <a href="https://github.com/medusajs/medusa/blob/develop/LICENSE">
    <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Medusa is released under the MIT license." />
  </a>
  <a href="https://discord.gg/xpCwq3Kfn8">
    <img src="https://img.shields.io/badge/chat-on%20discord-7289DA.svg" alt="Discord Chat" />
  </a>
  <a href="https://twitter.com/intent/follow?screen_name=medusajs">
    <img src="https://img.shields.io/twitter/follow/medusajs.svg?label=Follow%20@medusajs" alt="Follow @medusajs" />
  </a>
</p>

## Getting Started

### Installation

```sh
yarn add @medusajs/ui
```

### Usage

```jsx
import { Button } from "@medusajs/ui"

const App = () => <Button variant="primary">Hello World</Button>
```

## Documentation

You can find the documentation for Medusa UI [on the documentation site](https://docs.medusajs.com/ui).

---
_Source: https://npm.io/package/@medusajs/ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
