mcpField
S
svar-react

svar-react

github.com/svar-widgetsDevelopment2119 installsUpdated 25w ago
Repository

About svar-react

svar-react is a documentation-routing skill for the `@svar-ui/react-*` React component packages. It directs developers to standalone package guides and includes shared guidance on themes and localization.

Key features

  1. 01Route to documentation by package
  2. 02Cover components such as grids, Gantt, and editors
  3. 03Provide theme and CSS styling guidance
  4. 04Explain locale packs and customization

Use cases

  1. 01Find imports and types for a package
  2. 02Configure theme styling for widget hierarchies
  3. 03Extend interface languages and formats

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/svar-widgets/skills --skill svar-react

After installing, type/svar-reactin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

comments/
index.md
core/
avatar.md
button.md
calendar.md
checkbox.md
colorboard.md
colorpicker.md
colorselect.md
combo.md
counter.md
datepicker.md
daterangepicker.md
dropdown.md
field.md
fullscreen.md
globals.md
icon.md
index.md
locale.md
modal.md
modalarea.md
month.md
multicombo.md
pager.md
popup.md
portal.md
radio.md
rangecalendar.md
richselect.md
segmented.md

Details

From the project README

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

FilePackageComponents
core/index.md@svar-ui/react-corebuttons, inputs, selectors, calendars, dropdowns, popups, modals, themes, locale (40+ widgets)
menu/index.md@svar-ui/react-menuMenu, MenuBar, DropDownMenu, ContextMenu, ActionMenu
toolbar/index.md@svar-ui/react-toolbarToolbar
layout/index.md@svar-ui/react-layoutLayout, Cell, Panel
grid/index.md@svar-ui/react-gridGrid, HeaderMenu, Tooltip, ContextMenu, Toolbar
editor/index.md@svar-ui/react-editorEditor
filter/index.md@svar-ui/react-filterFilterBuilder, FilterEditor, FilterBar, FilterQuery
gantt/index.md@svar-ui/react-ganttGantt, Toolbar, ContextMenu, Editor, Tooltip, HeaderMenu
tasklist/index.md@svar-ui/react-tasklistTasklist
comments/index.md@svar-ui/react-commentsComments
filemanager/index.md@svar-ui/react-filemanagerFilemanager

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

Comments

Markdown supported