Skip to content
contextlimitPublic

About

Vue. Dark mode. Built for high quality gaming interfaces.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

Repository files navigation

Portal UI

Component gallery

The static demo contains 46 live examples of the original Vue components, a searchable component list, an overview showing every example, and individual component links. Controls use local sample state; no Blockhub backend or account is required. This is a visual gallery, not the complete Blockhub application.

npm ci --prefix demo
npm run dev --prefix demo
npm run build --prefix demo

The independent demo uses Vue 2.7 to render the original options/render APIs and the compatible script-setup components. It imports the library source directly; the demo registry avoids the unfinished package barrel and its missing exports. The package source and its Vue 3 migration remain unchanged. Demo-only adapters provide inert Nuxt links, local image fallback, filters, and a minimal store.

For browser verification:

cd demo
npx playwright install chromium
npm test

Set CHROME_PATH to an installed Chrome executable to use it instead. Tests run against the production build under /portal-ui/, check all 46 examples, exercise navigation, search, reset, inputs, pagination, tabs and modal controls, verify images and console errors, and capture desktop and narrow layouts.

The Deploy component gallery GitHub Actions workflow builds, verifies and publishes demo/dist on changes pushed to master, or by manual dispatch. Select GitHub Actions as the Pages source in the repository settings. Relative asset URLs and hash navigation allow direct example links and refreshes to work on GitHub Pages without a server-side router.

Expected site: https://contextlimit.github.io/portal-ui/

Library

✅ SSR with Nuxt compatability ✅ Well designed & scoped CSS ✅ Well defined props & events ✅ Robust collection of UI elements

Getting Started

npm install @hyperbridge/portal-ui
// or
yarn add @hyperbridge/portal-ui

Import components like so...

export default {
  components: {
    Header: () => import("@hyperbridge/portal-ui").then((m) => m.Header),
    Popup: () => import("@hyperbridge/portal-ui").then((m) => m.Popup),
  },
};

Full styleguide of examples: https://github.com/hyperbridge/blockhub/blob/develop/tools/styleguide/stories/index.stories.js

About

Vue. Dark mode. Built for high quality gaming interfaces.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages