Files
WRNexusJS/examples/component-showcase/README.md
T
2026-07-24 12:46:44 +05:30

24 lines
852 B
Markdown

# WRNexus UI component showcase
This example renders every component from `@wrnexus/ui` with representative,
prop-driven data. Pages are generated from `packages/ui/component-reference.json`
so coverage stays synchronized with the packaged component catalog.
```bash
bun run --cwd examples/component-showcase dev
```
Open `http://localhost:3000`. The index links to the category catalog, and every
component card opens a dedicated documentation page with three live use cases,
usage examples, its prop API, events, slots, and related navigation.
After changing UI component props, regenerate and verify the catalog:
```bash
bun run --cwd examples/component-showcase generate
bun run --cwd examples/component-showcase check
```
Files under `app/pages/` are generated. Customize the generator or stylesheet
instead of editing those pages directly.