You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

inclusive-elements

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inclusive-elements

Accessible, lightweight, unstyled implementations of common UI controls.

0.4.6
latest
Source
npmnpm
Version published
Weekly downloads
25
1150%
Maintainers
1
Weekly downloads
 
Created
Source

Inclusive Elements

Accessible, lightweight, unstyled implementations of common UI controls.

Demo

Basic interactive UI patterns like popup menus, tooltips, and modals are surprisingly hard to get right on the web. Component libraries tend to be weighty, opinionated, and come tightly coupled with styles you don't want. On the other hand, rolling your own components feels like you're reinventing the wheel and puts accessibility at risk.

inclusive-elements provides those basic behaviors in the form of Custom Elements, without any of the cruft. They are:

  • 🦮 Accessible. Designed following the ARIA Authoring Practices Guide so everyone can use them.
  • 🌳 Lightweight. Tree-shake only the elements you need.
  • 🎨 Unstyled. Easily integrate with your design bottom-up without having to fight defaults.
  • 🚀 Easy to use. Simple API, works with any framework that supports Custom Elements.

Installation

npm install inclusive-elements --save

Elements

Detailed descriptions and usage instructions are contained within each element:

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

FAQs

Package last updated on 29 Jun 2023

Did you know?

Socket

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