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 🙏

© 2026 – Pkg Stats / Ryan Hefner

smart-webcomponents-community

v27.1.0

Published

The free, open-source subset of the Smart UI suite: 38 standards-based Custom Elements with no third-party dependencies.

Readme

Smart UI Community - Free Open-Source Web Components

smart-webcomponents-community is the free, Apache-2.0 licensed subset of the Smart UI suite: 38 standards-based custom elements covering inputs, buttons, layout and navigation. It has no third-party dependencies and works in plain HTML or with any framework.

npm version npm downloads License

Live demos · Documentation · Community vs. Enterprise · Theme Builder

Contents

What is Smart UI Community?

Smart UI Community is the free edition of the Smart UI component library. It provides 38 UI components built as native custom elements, so they run in a plain HTML page or inside any framework with no build step required.

The community edition covers form and layout building blocks: inputs, dropdowns, buttons, menus, tabs, trees and windows. Data components such as the Grid, Pivot Table, Scheduler and Gantt Chart are part of the commercial suite.

Installation

npm install smart-webcomponents-community

Quick start

Load a theme and the components you need, then use the elements:

<link rel="stylesheet"
      href="node_modules/smart-webcomponents-community/source/styles/smart.default.css" />
<script type="module"
        src="node_modules/smart-webcomponents-community/source/modules/smart.window.js"></script>

<smart-window label="Hello">Window content.</smart-window>

Each component is a self-contained ES module under source/modules/, so you load only what you use. source/components/ holds the same components in non-module form for <script>-tag loading.

Components

38 components ship in the package. Each name links to its API reference.

Charts and data visualization

Progress Bar · Bar Code · QR Code

Layout and navigation

Accordion · Tabs · Window · Splitter · Menu · List Menu · Toast · Tooltip

Editors and inputs

Input · Text Box · Text Area · Masked Text Box · Numeric Text Box · Password Text Box · Combo Box · Multi Input · Drop Down List · Drop Down Button · List Box · Tree · Date Time Picker · Date Input · Date Range Input · Check Input · Country Input · Phone Input · Color Picker · Color Input · File Upload · Rating · Slider · Form

Buttons

Button · Radio Button · Check Box

What is not included

The following are part of the commercial smart-webcomponents package and are not in the community edition:

Grid · Table · Pivot Table · Card View · Scheduler · Gantt Chart · Kanban · Timeline · Chart · 3D Chart · Editor · Ribbon · Docking Layout · Query Builder · Filter Builder · Gauge · Map · Customization Dialog

See the community and enterprise comparison for the full breakdown. The Smart.Industrial line (HMI, SCADA and test-and-measurement components) is a package of its own, smart-industrial.

Theming

137 prebuilt theme stylesheets ship in the package, across six families - Default, Bootstrap, Material, Fluent, Strata and Tabula - each with light and dark modes and accent-color variants. Swap a single stylesheet to restyle the whole application:

<link rel="stylesheet"
      href="node_modules/smart-webcomponents-community/source/styles/material/dark/smart.material-dark.blue.css" />

| Family | Light | Dark | Location | | --- | --- | --- | --- | | Default | 10 | 9 | source/styles/ | | Bootstrap | 12 | 12 | source/styles/bootstrap/light/, source/styles/bootstrap/dark/ | | Material | 12 | 12 | source/styles/material/light/, source/styles/material/dark/ | | Fluent | 12 | 12 | source/styles/fluent/light/, source/styles/fluent/dark/ | | Strata | 11 | 11 | source/styles/strata/light/, source/styles/strata/dark/ | | Tabula | 12 | 12 | source/styles/tabula/light/, source/styles/tabula/dark/ |

Every family except Default ships a base stylesheet plus accent variants in black, blue, cyan, green, indigo, orange, pink, purple, red, teal and turquoise. Strata omits black. The Default family uses smart.default.css with smart.<accent>.css and smart.dark-<accent>.css variants.

Dark stylesheets are named for their family, so material/dark/smart.material-dark.blue.css is the blue accent of Material Dark. Bootstrap keeps the same filenames in both folders, so the light and dark variants are distinguished by directory.

Per-component stylesheets are available in source/styles/default/ if you prefer to load only the CSS for the components you use.

Custom palettes can be generated with the Theme Builder.

Frequently asked questions

Is Smart UI Community really free?

Yes. It is licensed under the Apache License 2.0, see LICENSE, and can be used in commercial projects.

Does it include a data grid?

No. The Grid, Table and Pivot Table are part of the commercial smart-webcomponents package.

Do the components work without a framework?

Yes. They are native custom elements, so they work in a plain HTML page with no build step, and in any framework.

How many themes are included?

137 prebuilt stylesheets across six families: Default, Bootstrap, Material, Fluent, Strata and Tabula. Each family ships light and dark modes with accent variants in black, blue, cyan, green, indigo, orange, pink, purple, red, teal and turquoise. Custom palettes can be built with the Theme Builder.

Does it include TypeScript definitions?

Yes, in the typescript/ directory.

Which browsers are supported?

Current versions of Chrome, Edge, Firefox, Safari and Opera.

Related packages

| Package | Description | | --- | --- | | smart-webcomponents | Full commercial suite | | smart-webcomponents-angular | Angular modules | | smart-webcomponents-react | React components |

License

Apache License 2.0, see LICENSE.

Issues: https://github.com/HTMLElements/smart-elements/issues · Forum: https://www.htmlelements.com/forum/