Skip to content

Commit bb0ba61

Browse files
docs(ui): @base-ui/react is no longer a peer dependency
The UI Library overview told consumers to install @base-ui/react alongside the package. It is now a regular dependency that installs automatically; react and react-dom are the only peers.
1 parent 41aa557 commit bb0ba61

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

apps/docs/src/content/docs/ui-library/overview.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ page with a live example, props, and CSS variables.
1515

1616
## Install
1717

18-
`@base-ui/react` is a peer dependency, so install it alongside the library:
19-
2018
```sh
21-
npm install @workflowbuilder/ui @base-ui/react
19+
npm install @workflowbuilder/ui
2220
```
2321

22+
`react` and `react-dom` are the only peer dependencies - provide your own.
23+
Everything else the components need, including `@base-ui/react` (pinned to the
24+
validated `1.4.x` line), is a regular dependency and installs automatically.
25+
2426
## Styles
2527

2628
The library ships its CSS as separate entry points. Import the global stylesheet

0 commit comments

Comments
 (0)