brainsatplay-ui
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

The Brains@Play Design System built using Web Components.

brainsatplay-ui is an open-source design system built by Brains@Play.

It is optimized for applications that incorporate real-time data streams.

Basic Usage

<html>
<head>
    <script src="https://cdn.jsdelivr.net/npm/brainsatplay-ui/"></script>
</head>
    <body></body>
    <script>
        const nav = new components.Nav({
            brand: {content: 'My Brand'},
            primary: {
                menu: [{content: 'Page 1'}, {content: 'Page 2'}],
                options: [{content: 'Log In'}]
            },
            secondary: [
                {content: 'Subdomain 1'},
                {content: 'Subdomain 2'},
                {content: 'Action', type:'button'}
            ],
        })
        document.body.insertAdjacentElement('afterbegin', nav)

    </script>

To Do

  1. Control Panel
    • Device Connection / Management + Playground
    • Multiplayer Session Management
    • File Viewer
  2. Everything on https://web-components.carbondesignsystem.com/?path=/story/components-accordion--default

Readme

Keywords

none

Package Sidebar

Install

npm i brainsatplay-ui

Weekly Downloads

1

Version

0.0.7

License

AGPL-3.0-or-later

Unpacked Size

5.39 MB

Total Files

119

Last publish

Collaborators

  • garrettmflynn