
Description
@iyulab/components is a web component library built on Lit, with UI components that work in plain HTML. The README has a demo site where every component can be tried, and a quick start shows a single page that runs under Vite. Components such as u-input and u-button take part in native forms, so FormData, required-field validation and Enter to submit all work without extra code. A React entry point at @iyulab/components/react wraps every component with forwardRef, so React code can use JSX props and on-event handlers instead of working with the custom elements directly. The README stresses that only one copy of the package should be installed, because it owns global resources such as the custom element registry and singleton services like Theme, Toast and OverlayManager, and it recommends declaring the package as a peer dependency. Every colour and border reads a CSS variable starting with --u-, so the app needs either a static token sheet or a runtime Theme.init call. The package also ships skills for LLM coding agents.…
Highlights
- Lit-based web components
- Native form participation for input and button
- React wrappers built with forwardRef
- Theme token sheet or runtime Theme.init
- Skills for AI coding agents
Ratings & Reviews
No ratings yet
Be the first to rate @iyulab/components.
People also visit

@vertical-insure/web-components
Vertical Insure Web Components using Lit and Open Web Standards
@iyulab/components FAQ
What is @iyulab/components?
A web component library built on Lit. Its components can be used in plain HTML or through the React wrappers.
How do I use it in React?
Import from the @iyulab/components/react subpath. Each component is a forwardRef wrapper, and @lit/react and react must be installed in the app.
Why do I need the theme setup?
Every colour and border reads a --u- CSS variable. An undefined variable makes the declaration invalid, so you need either a static token sheet or the runtime Theme.init call.
Why should only one copy be installed?
The package owns global custom element registrations and singleton state. Two copies can register the same tag and split Toast and overlay state, so the README advises a peer dependency.
Does it include skills for AI coding tools?
Yes. The README says it provides skills for LLM coding agents such as Claude Code, GitHub Copilot and Cursor.
What are the best @iyulab/components alternatives?
Popular alternatives to @iyulab/components include @vertical-insure/web-components, @itwin/itwinui-react and @lifesg/react-design-system. See all @iyulab/components alternatives














