@webx-ui/module-settings

Site settings for the WebX UI admin panel: the section that draws the settings screen and saves it.
6,621
Install
npm install @webx-ui/module-settings
Latest Version:0.5.2
Vue:3
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: ahabzig

@webx-ui/module-settings

The site's settings, as a section of a WebX UI admin panel. The screen itself is described by the server — webx-ui/module-settings ships the tree and the project patches it — and this package draws it and saves it.

Nothing here works without the Composer half.

Install

pnpm add @webx-ui/module-settings
import { createAdmin } from '@webx-ui/module-admin'
import { settings } from '@webx-ui/module-settings'
import '@webx-ui/module-settings/style.css'

createAdmin({
  modules: [settings()],
  // The project's own operations over the screen, on top of the server's.
  screens: {
    'settings.index': [{ op: 'set', target: 'project-name', props: { placeholder: 'Acme' } }],
  },
})

The section appears under "System" in the navigation once the server reports the module.

What it does

  • settings() — the module: a route at /settings and the page.
  • WxSettingsPage — the page: loads the values, draws settings.index through WxScreen, and saves with one button. A 422 lands under the field it names.
  • createSettingsApi(admin) — load() and save(values), for anything else that needs them.

The guide: https://webx-ui.github.io/webx-ui/guide/settings.html.

Licence

MIT.

Related Packages

@webx-ui/schema

Screens as JSON for WebX UI admin panels: the node format, patches, the type reg...

11,595 0
@webx-ui/module-blocks

The block constructor for the WebX UI admin panel: the section where a block typ...

10,326 0
@webx-ui/module-pages

Pages for the WebX UI admin panel: the tree of a site's pages, their addresses,...

7,462 0
@webx-ui/module-blog

Blog for the WebX UI admin panel: articles made of blocks, rubrics and tags, sch...

6,583 0
@webx-ui/module-seo

SEO for the WebX UI admin panel: rules for addresses, redirects, and the card th...

6,577 0

Version History

Version Released License
0.5.2 MIT
0.5.1 MIT
0.5.0 MIT
0.4.6 MIT
0.4.5 MIT