@golemui/gui-components
GolemUI Components are web components built with Lit: text fields, one-time codes, sliders, checkbox groups, ratings, pickers, lists, buttons, tabs, accordions, alerts, badges, progress bars, spinners, dialogs, menus, popovers, tooltips and toasts. They work in plain HTML and in any framework, with or without GolemUI Forms.
- Accessible: labels, hints and errors linked to every control, full keyboard support, and translatable built-in strings.
- Native forms: with a
name, every element submits, validates and resets with its<form>. - Easy to style: light DOM,
--gui-*design tokens, dark mode, and every rule in a cascade layer so your own CSS wins. - Every framework: React components with typed props, Vue typings, a Nuxt module, and server rendering in React, Next.js, Vue, Nuxt, Angular, Analog, Astro and Lit.
Install
npm install @golemui/gui-components lit
import '@golemui/gui-components/index.css';
import '@golemui/gui-components/textinput';
<gui-textinput label="Email" name="email" required></gui-textinput>
Documentation
- Installation and framework setup
- Components
- Styling: stylesheets, design tokens, themes and dark mode, icons and layout
- Guides: native forms, accessibility, i18n and server rendering
- For LLMs and agents: llms.txt
Links
- Website: https://golemui.com
- Repository: https://github.com/golemui/golemui
- Source: https://github.com/golemui/golemui/tree/main/libs/gui/components
- Issues: https://github.com/golemui/golemui/issues
License
MIT