SVAR React ships as a family of @svar-ui/react-* packages. This file routes to the per-package entry; each child file is standalone and contains the imports, public types, styling hooks, and recipes for its components.
Open the matching file for the package you are using. If the component you need is not listed in the routing table below, default to core/index.md
Component Routing
| File |
Package |
Components |
core/index.md |
@svar-ui/react-core |
buttons, inputs, selectors, calendars, dropdowns, popups, modals, themes, locale (40+ widgets) |
menu/index.md |
@svar-ui/react-menu |
Menu, MenuBar, DropDownMenu, ContextMenu, ActionMenu |
toolbar/index.md |
@svar-ui/react-toolbar |
Toolbar |
layout/index.md |
@svar-ui/react-layout |
Layout, Cell, Panel |
grid/index.md |
@svar-ui/react-grid |
Grid, HeaderMenu, Tooltip, ContextMenu, Toolbar |
editor/index.md |
@svar-ui/react-editor |
Editor |
filter/index.md |
@svar-ui/react-filter |
FilterBuilder, FilterEditor, FilterBar, FilterQuery |
gantt/index.md |
@svar-ui/react-gantt |
Gantt, Toolbar, ContextMenu, Editor, Tooltip, HeaderMenu |
tasklist/index.md |
@svar-ui/react-tasklist |
Tasklist |
comments/index.md |
@svar-ui/react-comments |
Comments |
filemanager/index.md |
@svar-ui/react-filemanager |
Filemanager |
Common Techniques
These apply to every @svar-ui/react-* package:
themes.md - theme wrappers, CSS variables, the css prop convention, class hooks
locales.md - locale context, bundled language packs, extending words and formats
The widget hierarchy need to be wrapped in a theme component to ensure proper styling
Some widgets (grid,gantt,filemanager, etc) exports their own theme components that delegate to core theme and add their own variables
1---2name: svar-react3description: Use when building, configuring, styling, or modifying any SVAR React UI component from the @svar-ui/react-* packages - widgets, layouts, menus, toolbars, calendars, popups, themes, and locales4---56SVAR React ships as a family of `@svar-ui/react-*` packages. This file routes to the per-package entry; each child file is standalone and contains the imports, public types, styling hooks, and recipes for its components.78Open the matching file for the package you are using. If the component you need is not listed in the routing table below, default to `core/index.md`910## Component Routing1112| File | Package | Components |13| ---------------------- | ------------------------ | ------------------------------------------------------------------------------------------- |14| `core/index.md` | `@svar-ui/react-core` | buttons, inputs, selectors, calendars, dropdowns, popups, modals, themes, locale (40+ widgets) |15| `menu/index.md` | `@svar-ui/react-menu` | `Menu`, `MenuBar`, `DropDownMenu`, `ContextMenu`, `ActionMenu` |16| `toolbar/index.md` | `@svar-ui/react-toolbar` | `Toolbar` |17| `layout/index.md` | `@svar-ui/react-layout` | `Layout`, `Cell`, `Panel` |18| `grid/index.md` | `@svar-ui/react-grid` | `Grid`, `HeaderMenu`, `Tooltip`, `ContextMenu`, `Toolbar` |19| `editor/index.md` | `@svar-ui/react-editor` | `Editor` |20| `filter/index.md` | `@svar-ui/react-filter` | `FilterBuilder`, `FilterEditor`, `FilterBar`, `FilterQuery` |21| `gantt/index.md` | `@svar-ui/react-gantt` | `Gantt`, `Toolbar`, `ContextMenu`, `Editor`, `Tooltip`, `HeaderMenu` |22| `tasklist/index.md` | `@svar-ui/react-tasklist` | `Tasklist` |23| `comments/index.md` | `@svar-ui/react-comments` | `Comments` |24| `filemanager/index.md` | `@svar-ui/react-filemanager` | `Filemanager` |2526## Common Techniques2728These apply to every `@svar-ui/react-*` package:2930- `themes.md` - theme wrappers, CSS variables, the `css` prop convention, class hooks31- `locales.md` - locale context, bundled language packs, extending words and formats3233The widget hierarchy need to be wrapped in a theme component to ensure proper styling34Some widgets (grid,gantt,filemanager, etc) exports their own theme components that delegate to core theme and add their own variables