Skip to content

bem-broom

Generate and parse BEM class names from plain JavaScript objects — tiny, dependency-free, with framework helpers on top.

@bem-broom/core

Framework-agnostic BEM class-name builder and parser. Zero runtime dependencies, dual polyfill-free ES2021/ES2015 builds. Read the guide or the API reference.

@bem-broom/webcomponents

A framework-free @bem decorator and BemElement mixin for plain custom elements — modifiers driven by attributes, block re-rooting via the Context Protocol. Read the guide or the API reference.

@bem-broom/lit

A standard-decorator @bem and BemController for Lit, with the framework-agnostic Context Protocol under the hood. Read the guide or the API reference.