Common setup, rendering, and accessibility issues.
Confirm both CSS files are imported and that the theme import comes first.
import "@froggdesign/theme/styles.css";
import "@froggdesign/enter-ui-react/styles.css";Set data-theme="dark" on a root element that contains the
application. EnterUI reads CSS variables from the active theme scope.
<html lang="en" data-theme="dark">
<body>{children}</body>
</html>Portal-based content is browser-rendered. Test trigger semantics in SSR and open content in jsdom or browser tests.
When using asChild, pass a semantic focusable element:
<DialogTrigger asChild>
<button type="button">Open</button>
</DialogTrigger>Use FormField with a single child control, or manually connect
the control to the error with aria-describedby and
aria-invalid.
If hooks or context fail unexpectedly, check that the app resolves one React and React DOM version compatible with the package peer dependency range.