Betsy Bot Material 3 Aurelia Web Components

November 30, 2023 ยท View on GitHub

For use in Aurelia 2 only. Does not support Aurelia 1.

Originally created for Betsy Bot but now available for anyone to use.

Consume the plugin

Install the npm package

npm install @betsybot/betsy-web-components

Register the components in your main.ts or main.js file

import * as BetsyWebComponentsPlugin from '@betsybot/betsy-web-components';
//Don't forget the styles!
import '@betsybot/betsy-web-components/dist/style.css';

Aurelia
    // Load all exports from the plugin
    .register(BetsyWebComponentsPlugin)
    .app(App)
    .start();

Using Icons?

Add to your index.html

    <link href="https://fonts.googleapis.com/icon?family=Material+Symbols+Outlined" rel="stylesheet">
    <link href="https://fonts.googleapis.com/icon?family=Material+Symbols+Rounded" rel="stylesheet">
    <link href="https://fonts.googleapis.com/icon?family=Material+Symbols+Sharp" rel="stylesheet">

Component List

  • ๐Ÿ’ค Waiting for Material Web Component
  • ๐ŸŸก In progress
  • โœ… Complete

Material 3

  • โœ… Button
  • โœ… Checkbox
  • โœ… Chipset
    • โœ… Chip (With variants)
  • โœ… Icon
  • โœ… Fab
  • โœ… List
    • โœ… List item
  • โœ… Menu
    • โœ… Menu Item
  • โœ… Progress (With variants)
  • โœ… Select
  • โœ… Switch
  • โœ… Tabs
    • โœ… Tab (With variants)
  • โœ… Text Field

Material 2

  • ๐Ÿ’ค Accordion
  • ๐Ÿ’ค Banner
  • ๐Ÿ’ค Card (Card Content - Card Footer - Card Header)
  • ๐Ÿ’ค Dialog
  • ๐Ÿ’ค Drawer
  • ๐ŸŸก Form Field
  • ๐ŸŸก Radio
  • ๐Ÿ’ค Topbar