Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exadel-inc/esl
Lightweight and flexible UI component library based on web components technology for creating basic UX modules
https://github.com/exadel-inc/esl
accordion animate component-library components custom-elements custom-elements-ts embedded-video exadel-martech flexible lightweight scrollbar tabs typescript ui ui-components web-components
Last synced: 1 day ago
JSON representation
Lightweight and flexible UI component library based on web components technology for creating basic UX modules
- Host: GitHub
- URL: https://github.com/exadel-inc/esl
- Owner: exadel-inc
- License: mit
- Created: 2020-12-23T15:13:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T14:22:29.000Z (6 days ago)
- Last Synced: 2024-12-16T14:26:37.404Z (6 days ago)
- Topics: accordion, animate, component-library, components, custom-elements, custom-elements-ts, embedded-video, exadel-martech, flexible, lightweight, scrollbar, tabs, typescript, ui, ui-components, web-components
- Language: TypeScript
- Homepage: https://esl-ui.com
- Size: 242 MB
- Stars: 59
- Watchers: 6
- Forks: 9
- Open Issues: 135
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Exadel Smart Library
[![npm](https://img.shields.io/npm/v/@exadel/esl?style=for-the-badge)](https://www.npmjs.com/package/@exadel/esl)
[![npm Downloads](https://img.shields.io/npm/dt/@exadel/esl.svg?label=npm%20downloads&style=for-the-badge)](https://www.npmjs.com/package/@exadel/esl)
[![version](https://img.shields.io/github/package-json/v/exadel-inc/esl?style=for-the-badge)](https://github.com/exadel-inc/esl/releases/latest)
[![build](https://img.shields.io/github/actions/workflow/status/exadel-inc/esl/validate.yml?style=for-the-badge)](https://github.com/exadel-inc/esl/actions/workflows/validate.yml)
[![Tests Coverage](https://img.shields.io/codeclimate/coverage/exadel-inc/esl?style=for-the-badge)](https://codeclimate.com/github/exadel-inc/esl)
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=for-the-badge)](./README.md)Exadel Smart Library (**ESL**) is an open-source **lightweight** and **flexible** UI component library based on web components.
Increase your site’s performance by building UX models with custom components from our library.
The ESL web UI components library is compatible with any framework, which makes ESL ideal for projects regardless of
their tech stack.★ Check out our UI component library and support it with a star ★
- [Overview](#overview)
- [Library Structure](#library-structure)
- [Installation Guide](#installation-guide)
- [Development Information for Contributors](#development-information-for-contributors)## Overview
Exadel Smart Library, or ESL for short, is a free web UI components library that reduces routine tasks and lets
you efficiently create websites with multiple web components at hand.
When you’re deciding which is the best UI component library for your site, keep in mind that it should be compatible
with other libraries and frameworks — like ESL is!ESL UI component library allows you to access a toolkit full of reusable components.
You can utilize these web components to complement projects or build your infrastructure from the ground up using
ESL alone. Our web UI components library is high-quality, so the only thing you’ll have to focus on is applying styles
to meet your project needs.ESL is based solely on Web API and ECMAScript 6 features, which let our web UI components library work
well across all modern browsers such as Firefox, Chrome, Safari, Opera, and Edge.
ESL can also work on IE11 when the whole list of polyfills is provided (see [Browser support & Polyfills](https://github.com/exadel-inc/esl/blob/HEAD/docs/BROWSER_SUPPORT.md) for more details).## Library Structure
While building the UI component library, we included components, form components, and utilities that solve complex
project architecture problems and comply with the DRY principle.
See the rundown of web components and read the specs.### Library Core
With our UI component library, you get flexible syntax sugar meant for building on top of basic components and
controlling their life cycle.- ##### [ESL Base Element](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-base-element/README.md)
- ##### [ESL Mixin Element](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-mixin-element/README.md)
- ##### [ESL Media Query](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-media-query/README.md)
- ##### [ESL Traversing Query](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-traversing-query/README.md)
- ##### [ESL Event Listener](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-event-listener/README.md)
- ##### [ESL Utils](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-utils/README.md)### Components
Our HTML UI component library provides you with all the elements you’ll need to construct UX modules
with excellent performance.- ##### [ESL A11yGroup](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-a11y-group/README.md) (beta)
- ##### [ESL Alert](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-alert/README.md)
- ##### [ESL Animate](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-animate/README.md)
- ##### [ESL Footnotes](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-footnotes/README.md) (beta)
- ##### [ESL Image](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-image/README.md)
- ##### [ESL Media](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-media/README.md)
- ##### [ESL Panel](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-panel/README.md)
- ##### [ESL Panel Group](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-panel-group/README.md)
- ##### [ESL Popup](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-popup/README.md) (beta)
- ##### [ESL Related Target](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-related-target/README.md) (beta)
- ##### [ESL Scrollbar](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-scrollbar/README.md)
- ##### [ESL Select](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-forms/esl-select/README.md) (beta)
- ##### [ESL Select List](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-forms/esl-select-list/README.md) (beta)
- ##### [ESL Share](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-share/README.md) (beta)
- ##### [ESL Tab and Tabs](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-tab/README.md)
- ##### [ESL Toggleable](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-toggleable/README.md)
- ##### [ESL Trigger](https://github.com/exadel-inc/esl/blob/HEAD/src/modules/esl-trigger/README.md)0. Preconditions:
- Make sure you have all needed polyfills to support browsers from your browser-support list.
See [Browser support & Polyfills](https://github.com/exadel-inc/esl/blob/HEAD/docs/BROWSER_SUPPORT.md) for details.
- Use a bundler to build your project. Currently, only ES6 modules are available for consumption.1. Install [esl npm dependency](https://www.npmjs.com/package/@exadel/esl):
```
npm i @exadel/esl --save
```2. Import Components/Modules you need:
```javascript
import '@exadel/esl/modules/esl-component/core';
```
- `core` module entry usually represents main part of the module;
- include optional sub-features directly. See component's documentation for details.
```javascript
import '@exadel/esl/modules/esl-media/providers/iframe-provider';
```
- Some modules contain cumulative `all` entries.
- Styles are distributed in two versions:
- 'ready to use' `core.css` or `core.less`
- mixin version `core.mixin.less` for custom tagname definition3. [Optional] Setup environment configuration, e.g. custom screen breakpoints:
```javascript
import {ESLScreenBreakpoints} from '@exadel/esl/modules/esl-media-query/core';// define XS screen breakpoint for up to 800px screen width
ESLScreenBreakpoints.addCustomBreakpoint('XS', 1, 800);
```4. Register web components via `register` static method call:
```javascript
ESLImage.register();
```
*You can pass custom tag name to 'register' function, but use this option only in an exceptional situation.*## Development Information for Contributors
If you are part of ESL team or want to contribute to the project,
you can find useful information about the project processes and agreements here:- #### [🔗 Contribution Guide](https://github.com/exadel-inc/esl/blob/HEAD/CONTRIBUTING.md)
- #### [🔗 Development Guide](https://github.com/exadel-inc/esl/blob/HEAD/docs/DEVELOPMENT.md)
- #### [🔗 Contributor Licence Agreement](https://github.com/exadel-inc/esl/blob/HEAD/CLA.md)
**ESL Core Team**
People who architect, maintain, and keep the idea of the ESL
**ESL Contributors**:
People who are actively contributing to the ESL
Anna-Mariia Petryk
Developer
Feoktyst Shovchko
Developer
Natallia Harshunova
Developer
Yana Bernatskaya
Developer
Natalie Smirnova
Developer
Iryna Pavlenko
Designer
Aliaksandr Auseyeu
Consultant
Andrey Belous
Consultant
Dzianis Mantsevich
Consultant
Liubou Masiuk
Consultant**Exadel, Inc.**
[![](./docs/images/exadel-logo.png)](https://exadel.com)