Socket
Socket
Sign inDemoInstall

@aaronshaf/panda-ui

Package Overview
Dependencies
12
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aaronshaf/panda-ui

Panda UI is an experimental set of stylesheets and web components in the likeness (and based on the work of) [InstUI](https://github.com/instructure/instructure-ui).


Version published
Weekly downloads
10
decreased by-23.08%
Maintainers
1
Install size
35.1 MB
Created
Weekly downloads
 

Readme

Source

Panda UI is an experimental set of stylesheets and web components in the likeness (and based on the work of) InstUI.

Theme stylesheets

<link
  rel="stylesheet"
  type="text/css"
  href="https://unpkg.com/@aaronshaf/panda-ui@1/dist/themes/canvas.css"
/>
<!-- or -->
<link
  rel="stylesheet"
  type="text/css"
  href="https://unpkg.com/@aaronshaf/panda-ui@1/dist/themes/canvas-high-contrast.css"
/>
.body {
  font-family: var(--typography-fontFamily);
}

Web components

Alert

<script
  src="https://unpkg.com/@aaronshaf/panda-ui@1/dist/elements/alert.js"
  defer
></script>
<script
  src="https://unpkg.com/@aaronshaf/panda-ui@1/dist/icons/checkmark.js"
  defer
></script>

or

import "@aaronshaf/panda-ui/dist/elements/alert.js";
import "@aaronshaf/panda-ui/dist/icons/checkmark.js";
<panda-alert variant="success">
  <div slot="icon">
    <panda-icon-checkmark></panda-icon-checkmark>
  </div>
  <div slot="content">
    Sample success alert text.
  </div>
</panda-alert>

Button

<script src="https://unpkg.com/@aaronshaf/panda-ui@1/dist/elements/button.js"></script>

or

import "@aaronshaf/panda-ui/dist/elements/button.js";
<panda-button variant="primary">
  Primary button
</panda-button>

Progress Bar

<script
  src="https://unpkg.com/@aaronshaf/panda-ui@1/dist/elements/progress-bar.js"
  defer
></script>

or

import "@aaronshaf/panda-ui/dist/elements/progress-bar.js";
<panda-progress-bar
  label="Loading completion"
  max="60"
  value="20"
  variant="primary"
>
  Primary button
</panda-progress-bar>

Dev

yarn
yarn run prepare
yarn run dev

FAQs

Last updated on 19 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc