adaleks/anywhere-ui
Sobre
AnywhereUI is a collection of rich web components that includes framework bindings, created with StencilJS
Desenvolvimento web e de aplicativosO que você pode fazer
- Framework agnostic Web Components — use them in Angular, React, Vue or plain HTML
- Rich components: dropdowns, listbox, multiselect, virtual scroller, tab view and more
- Theming through CSS variables and shadow parts: 8 color themes, light and dark modes
- Accessible, keyboard friendly and written in TypeScript
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- Coletando histórico
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalAnywhereUI
Rich Web Components. Any Framework.
AnywhereUI is a set of customizable Web Components built with Stencil, with thin bindings for Angular, React and Vue. Style it once with CSS variables and use it everywhere — no framework lock-in.
- Live demo: production · preview
- Documentation: Get Started, Components, Theming
- Changelog: CHANGELOG.md
Features
- Framework agnostic Web Components — use them in Angular, React, Vue or plain HTML
- Rich components: dropdowns, listbox, multiselect, virtual scroller, tab view and more
- Theming through CSS variables and shadow parts: 8 color themes, light and dark modes
- Accessible, keyboard friendly and written in TypeScript
- Small bindings for Angular, React and Vue on top of the same core
Packages
| Project | Package | Version | Links |
|---|---|---|---|
| Core | @anywhere-ui/core |
README.md |
|
| Angular | @anywhere-ui/angular |
README.md |
|
| React | @anywhere-ui/react |
README.md |
|
| Vue | @anywhere-ui/vue |
README.md |
|
| Svelte | @anywhere-ui/svelte |
README.md |
Quick start
Vanilla / any bundler
npm i @anywhere-ui/core
import { defineCustomElements } from "@anywhere-ui/core/loader";
defineCustomElements();
<any-button label="Hello" icon="fa-solid:hand"></any-button>
Angular
npm i @anywhere-ui/core @anywhere-ui/angular
import { NgModule } from "@angular/core";
import { AnywhereUiModule } from "@anywhere-ui/angular";
@NgModule({
imports: [AnywhereUiModule.forRoot()],
})
export class AppModule {}
<any-input-text [(ngModel)]="value" placeholder="Type here"></any-input-text>
React
npm i @anywhere-ui/core @anywhere-ui/react
import { setupAnywhereUIReact, AnyButton } from "@anywhere-ui/react";
setupAnywhereUIReact();
export const App = () => <AnyButton label="Hello" />;
Vue
npm i @anywhere-ui/core @anywhere-ui/vue
import { createApp } from "vue";
import { AnywhereUIVue } from "@anywhere-ui/vue";
createApp(App).use(AnywhereUIVue).mount("#app");
<any-button label="Hello"></any-button>
Theming
Components consume the theme through CSS variables, so you can override just what you need:
:root {
--primaryColor: #16a34a;
--primaryDarkColor: #12823b;
--primaryDarkerColor: #0f6b31;
--primaryColorRGBValue: 22, 163, 74;
}
The showcase ships with 8 color themes (violet, purple and Bootstrap palettes, light and dark),
surface presets, design themes (Material / Sharp / Soft) and typography styles. See the
Theming page for the full token list,
or the theme sources in packages/core/src/themes.
Components
Checkbox · Dropdown · InputSwitch · InputText · InputTextarea · InputNumber · Listbox ·
MultiSelect · RadioButton · Button · VirtualScroller · TabView · Badge · RippleEffect
Every component is documented with live examples, an API table, events, CSS custom properties and shadow parts:

Examples
Every binding has an interactive playground with live options and an event debug log under
packages/examples: npm run example:react, example:vue, example:angular,
example:svelte or example:vanilla.
The assembled multi-framework site is live at examples preview and examples production:
Vanilla · React · Vue · Angular · Svelte
Development
Requirements: Node.js >= 22.22.3 (the repository uses Node 26 via .nvmrc) and npm 11 workspaces.
npm install # install all workspaces
npm start # Stencil dev server + Sass watch on http://127.0.0.1:3333
npm run build # production build of the core and the framework bindings
npm test # unit tests (Vitest via @stencil/vitest)
npm run test:e2e # browser tests (Playwright via @stencil/playwright)
The showcase app lives in packages/core (src/app, src/components/app-showcase), while the
component sources and themes live in packages/core/src/components and packages/core/src/themes.
Contributing
Issues and pull requests are welcome. main is protected: create a branch, push it and open a PR.
Please add tests for component changes and run npm test before opening the PR. For repository
conventions and the release workflow, see AGENTS.md.
License
Explore projetos relacionados
Carregando…