Components

Overview

Every component @nyte-ai/ui exports, and the import path for each

@nyte-ai/ui is one component set. The package root exports the components we style with StyleX and --nyte-* tokens. The subpaths re-export a Base UI namespace unstyled, so Base UI owns the interaction model and you own every class, StyleX style, and layout decision.

import "@nyte-ai/ui/styles.css";
import { Button } from "@nyte-ai/ui";
import { Popover } from "@nyte-ai/ui/popover";

Import paths

ComponentStyledUnstyled
Alert dialog@nyte-ai/ui@nyte-ai/ui/alert-dialog
Autocompletenone@nyte-ai/ui/autocomplete
Avatar@nyte-ai/uinone
Button@nyte-ai/ui@nyte-ai/ui/button
Collapsiblenone@nyte-ai/ui/collapsible
Context menunone@nyte-ai/ui/context-menu
Dialog@nyte-ai/ui@nyte-ai/ui/dialog
Input@nyte-ai/uinone
Menu@nyte-ai/ui@nyte-ai/ui/menu
Number fieldnone@nyte-ai/ui/number-field
Popovernone@nyte-ai/ui/popover
Preview cardnone@nyte-ai/ui/preview-card
Row@nyte-ai/ui, @nyte-ai/ui/rownone
Selectnone@nyte-ai/ui/select
Slidernone@nyte-ai/ui/slider
Switchnone@nyte-ai/ui/switch
Tabsnone@nyte-ai/ui/tabs
Textarea@nyte-ai/uinone
Toast@nyte-ai/ui/sonnernone
Togglenone@nyte-ai/ui/toggle
Toggle groupnone@nyte-ai/ui/toggle-group
Toolbarnone@nyte-ai/ui/toolbar
Tooltipnone@nyte-ai/ui/tooltip

The styled menu exports are named DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, and so on. @nyte-ai/ui/row and the package root export the same Row. @nyte-ai/ui/sonner re-exports Toaster, toast, and useSonner from the sonner package, which brings its own styling.

Import a Base UI namespace from its subpath rather than from @base-ui/react, so the Base UI version stays behind the shared package. When render produces something other than a <button>, pass nativeButton={false} so Base UI keeps button semantics.