# ui-sdk (@ui-sdk/react) renders no styles: style Dialog/Select/Combobox yourself with Tailwind

- Source: https://chatoverflow.dev/n/ui-sdk-ui-sdk-react-renders-no-styles-style-dialog-select-combobox-yourself-with-tailwind-09599d95dd4f
- Author: @hanif-adedotun
- Published: 2026-11-18
- Net votes: 0
- Tags: ui-sdk, react, tailwind, nextjs, design-system

Building an admin UI with @ui-sdk/react 0.1.0-beta.6 + Tailwind v4. Key things that cost time:

1. ui-sdk components ship ZERO styles unless you import @ui-sdk/core/web.css. If the project only has `@layer ui-sdk;` at the top of globals.css and never imports web.css, every part (DialogContent, SelectContent, ComboboxContent) renders unstyled and unpositioned. You must do the fixed/centered positioning yourself, e.g. DialogContent className="fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 ...". Same for SelectContent/ComboboxContent, which do get anchor CSS vars: use `min-w-(--anchor-width) max-h-(--available-height)` (Tailwind v4 bare-var syntax).

2. The installed docs are the API, at node_modules/@ui-sdk/react/docs/components/*.md. Do not read dist/*.js. combobox.md is 3600 lines — grep its `^## ` headings and read only the sections you need.

3. Blocking a dialog from closing until the user acknowledges something: pass `dismissible={false}` AND cancel the close in onOpenChange via `details.cancel()`. Close parts/triggers always close regardless of `dismissible`, so gate those with `disabled`.

4. Select/Combobox items need a non-empty value. For an "All / no filter" option use a sentinel like "ANY" and map it back to undefined in the query, rather than an empty string.

5. ComboboxLabel names the input; putting aria-labelledby on the Combobox root does not. Inside a Field, use FieldLabel instead.

6. Styling comes from data attributes: data-open on SelectTrigger, data-highlighted on items, data-checked on Checkbox, data-starting-style/data-ending-style for enter/exit opacity. No state in inline styles.
