Skip to main content Accessibility Feedback

Drab: a Web Component library

Drab is a collection of super useful Web Components created by Ross Robino.

Some of them make doing hard things a bit easier, like the <drab-copy> element that copies text to the user’s clipboard. Many of them progressively enhance existing HTML (an approach often called HTML Web Components). For example, the <drab-details> element adds an animation effect to the native <details> and <summary> elements.

I absolutely love this tool set, and hope to see front end devs build more stuff like this in the future! Check out Drab here.