npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@goatui/components

v2.25.0

Published

A light weight web component library

Downloads

398

Readme

GOAT UI

Build GitHub license Version

GOAT UI contains most used web components built using Stencil. So you don't need to include any additional framework dependencies, You can simply import required component js, and right away start using it.

Checkout the complete documentation over here -> https://goatui.com

Getting Started

Script tag

  • Put a script tag similar to this <script type="module" src="https://cdn.jsdelivr.net/npm/@goatui/[email protected]/dist/goatui/goatui.esm.js"></script> in the head of your index.html
  • Include default font Roboto in the page
  • Then you can use the element anywhere in your template, JSX, html etc
<!doctype html>
<html lang='en'>
<head>
  <meta charset='utf-8' />
  <meta name='viewport' content='width=device-width' />
  <title>Goat UI Component</title>

  <!-- include your custom theme variable values, view variable names at https://cdn.jsdelivr.net/npm/@goatui/[email protected]/dist/goatui/assets/styles/theme.css -->
  <!--link rel="stylesheet" href="/custom-theme.css"></link-->
  <script type='module'
          src='https://cdn.jsdelivr.net/npm/@goatui/[email protected]/dist/goatui/goatui.esm.js'></script>

  <style>
    @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital@0;1&family=IBM+Plex+Sans+Condensed:ital@0;1&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Serif:ital@0;1&display=swap');

    :root {
      --font-family-base: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    }
  </style>
</head>
<body>
<goat-button size='lg' color='primary'>Click me</goat-button>
</body>
</html>

Components

  • 🟢 ready (feature complete for now)
  • 🟡 beta (changes possible, not feature complete)
  • 🔴 not ready (unstyled / no functions)
  • 🔵 planned (created, but empty files)

Input Controls

Input controls are UI design elements that allow users to input information into the system. They are essential for collecting data and enabling user interactions. Some common examples of input controls include text fields, dropdown menus, checkboxes, and radio buttons.

| Name | Component | State | |------------------------------------------------------------|----------------------|-------| | Code editor | goat-card-editor | 🟢 | | Color picker | goat-color-picker | 🔴 | | Checkbox | goat-checkbox | 🟢 | | Date picker | goat-date-picker | 🟡 | | Date Time picker | goat-datetime-picker | 🔴 | | File picker | goat-file-picker | 🔴 | | HTML editor | goat-html-editor | 🟢 | | Input | goat-input | 🟢 | | Month picker | goat-month-picker | 🔴 | | Number | goat-number | 🟢 | | Select | goat-select | 🟢 | | Textarea | goat-textarea | 🟢 | | Time picker | goat-time-picker | 🟡 | | Week picker | goat-week-picker | 🔴 | | Form control | goat-form-control | 🟡 |

Navigation

Navigational components are UI elements that help users move around the app or website. They provide users with a clear and intuitive way to navigate through different sections and pages. Some common examples of navigational components include menus, tabs, and breadcrumbs.

| Name | Component | State | |--------------------------------------------------------|-----------------|-------| | Breadcrumb | goat-breadcrumb | 🟢 | | Dropdown | goat-dropdown | 🟡 | | Menu | goat-menu | 🟡 | | Tabs | goat-tabs | 🟢 |

Informational

Informational components are UI elements that provide information to users. They communicate important messages, updates, or instructions within the app or website. Some common examples of informational components include notifications, tooltips, and progress bars.

| Name | Component | State | |------------------------------------------------------------------------------------|---------------------------|-------| | Badge | goat-badge | 🟢 | | Progress | goat-progress | 🟢 | | Spinner | goat-spinner | 🟢 | | Tooltip | goat-tooltip | 🟢 | | Notification | goat-notification | 🟢 | | Notification Manager / Toast | goat-notification-manager | 🟢 |

Containers

Containers are UI elements that group similar content together, making it easier for users to navigate and scan through the interface. Examples of common containers include cards, carousels, and accordions, which provide structure and organization to the content.

| Name | Component | State | |------------------------------------------------------|----------------|-------| | Accordion | goat-accordion | 🟢 | | Card | goat-card | 🟡 |

General

These components are used for general purpose. They include

| Name | Component | State | |----------------------------------------------------------------------------|---------------------------|-------| | Avatar | goat-avatar | 🟢 | | Button | goat-button | 🟢 | | Button Group | goat-button-group | 🟢 | | Calendar | goat-calendar | 🟢 | | Card Select | goat-cardselect | 🔴 | | Code Highlighter | goat-card-highlighter | 🟢 | | Column | goat-col | 🔴 | | Empty State | goat-empty-state | 🟡 | | Flow Designer | goat-flow-designer | 🔵 | | Grid | goat-grid | 🔴 | | Group | goat-group | 🔴 | | Header | goat-header | 🟢 | | Icon | goat-icon | 🟢 | | Link | goat-link | 🟢 | | Modal | goat-modal | 🟢 | | Notification Manager | goat-notification-manager | 🟡 | | Observer | goat-observer | 🔴 | | Pagination | goat-pagination | 🔴 | | Radio Group | goat-radiogroup | 🔴 | | Row | goat-row | 🔴 | | Slider | goat-slider | 🟡 | | Spoiler | goat-spoiler | 🔴 | | Stepper | goat-stepper | 🔴 | | Table | goat-table | 🟡 | | Tag / Chip | goat-tag | 🟢 | | Text | goat-text | 🟢 | | Tree View | goat-tree-view | 🟡 | | Toggle | goat-toggle | 🟢 |

Charts

These components are used to display data in a graphical format. They include

| Name | Component | State | |----------------------------------------------------------------|---------------------|-------| | Doughnut Chart | goat-chart-doughnut | 🟢 | | Pie Chart | goat-chart-pie | 🟢 |