NuvUI

v0.10.0
io.github.Nuvraxis/nuvui Checked 4 hours ago Published 1 month ago

The docs, rules, blocks, charts and design tokens of nuvui, a React UI library, for coding agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_rules

Start here. Without a topic: the versions these docs describe, what to know before writing code with nuvui, the packages, the rules in a line each, and which component meets which need. With a topic: that rule in full, with wrong and right code.

ParameterTypeDescription
topicstringOne of: accessibility, composition, forms, packages, server-components, styling, text-and-direction.
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

list_components

Every component page, by package, with what each is for in a line. Pass a package to see only its pages.

ParameterTypeDescription
packagestringA package, such as @nuvui/table or table. One of: @nuvui/react, @nuvui/date-picker, @nuvui/table, @nuvui/charts, @nuvui/barcodes, @nuvui/chat, @nuvui/kanban, @nuvui/editor, @nuvui/emoji, @nuvui/map, @…
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

list_guides

The pages that aren't about one component: getting started, theming, Tailwind, SCSS, forms, right to left, translation, the Content Security Policy, support, and recipes for whole screens.

ParameterTypeDescription
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

get_page

One page of the reference, as Markdown: a component's parts, props, examples, CSS variables, classes and accessibility, or a guide. Takes a page's id from list_components, list_guides or search_docs, or a component's name, such as Compare or DataTable. A section gives only that part of the page, such as Props or CSS variables.

ParameterTypeDescription
page *stringA page's id, such as components/compare, or a component's name.
sectionstringA `##` heading on the page, such as Props, Accessibility or CSS variables.
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

search_docs

Finds the sections of the reference that best answer a question or a few words, such as 'sortable table', 'dark mode' or 'error message on a field'. Each result names its page and section, for get_page.

ParameterTypeDescription
query *string
limitinteger
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

list_blocks

Blocks are screens and parts of apps built from the components, such as a sign-in screen, a dashboard or a pricing table, each a TSX file and an SCSS file to copy and change. Look here before building a screen from nothing.

ParameterTypeDescription
categorystringOne of: 3d, accounts, calendar, chat, dashboard, data, developer, editor, flows, layout, marketing, media, org-charts, settings.
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

get_block

A block's files in full, the packages they need, and the command that adds it to a project.

ParameterTypeDescription
name *stringA block's name from list_blocks, such as sign-in.
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

list_charts

Charts built with @nuvui/charts on Recharts, each one file to copy: area, bar, line, pie, radar, radial, scatter and more.

ParameterTypeDescription
familystringOne of: area, bar, line, pie, radar, radial, tooltip, composed, scatter, dashboard.

get_chart

A chart's file in full, such as bar/stacked, from list_charts.

ParameterTypeDescription
name *stringA chart's id from list_charts, such as bar/stacked.

get_tokens

The design tokens as CSS custom properties, for your own CSS: var(--color-primary), never a color written out. A prefix gives only those, such as --color-, --radius- or --text-.

ParameterTypeDescription
prefixstring
versionstringThe @nuvui/react version in the project's package.json, such as 0.6.2 or ^0.6.0, for the docs of that release. Leave it out for the latest release.

get_changes

What each @nuvui/* package added and changed after the versions a project has, from the packages' changelogs, newest first, and what's in the docs but in no release yet. Pass the @nuvui/* entries of the project's package.json. Without them: the latest version of each package.

ParameterTypeDescription
installedobjectThe @nuvui/* packages in the project's package.json, with their versions as written there, such as { "@nuvui/react": "^0.6.0", "@nuvui/table": "0.1.6" }.