# @astrojs/alpinejs

> Use Alpine within Astro

Latest version **1.0.0** (published 2026-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @astrojs/alpinejs
pnpm add @astrojs/alpinejs
yarn add @astrojs/alpinejs
bun add @astrojs/alpinejs
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo; extremely popular.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2026-06-22 |
| First published | 2022-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 62533 |
| Author | withastro |
| Maintainers | fredkschott, matthewp |
| Keywords | astro-integration, astro-component, renderer, alpinejs, performance |

## Links

- npm: https://www.npmjs.com/package/@astrojs/alpinejs
- Repository: https://github.com/withastro/astro
- Homepage: https://docs.astro.build/en/guides/integrations-guide/alpinejs
- Issues: https://github.com/withastro/astro/issues
- npm.io page: https://npm.io/package/@astrojs/alpinejs

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2026-06-22
- 1.0.0-beta.1 (beta) — 2026-06-13
- 1.0.0-alpha.0 (alpha) — 2026-04-30
- 0.0.0-alpine-scripts-20250121133658 (experimental--alpine-scripts) — 2025-01-21
- 0.0.0-edge-middleware-verification-20240205180401 (experimental--edge-middleware-verification) — 2024-02-05
- 0.0.0-toolbar-absolute-paths-20240126155246 (experimental--toolbar-absolute-paths) — 2024-01-26
- 0.0.0-isr-20240125224234 (experimental--isr) — 2024-01-25
- 0.3.0-rc.1 (rc) — 2023-08-22
- 0.0.0-vercel-json-20230313201834 (next--vercel-json) — 2023-03-13
- 0.0.0-experimental-assets-20230307131344 (next--experimental-assets) — 2023-03-07
- 0.0.0-cloudcannon-fix-20230306211609 (next--cloudcannon-fix) — 2023-03-06
- 0.5.0 — 2026-03-10
- 0.5.0-beta.1 — 2026-01-13
- 0.5.0-alpha.0 — 2025-11-10
- 0.4.9 — 2025-09-08
- … 24 more at https://npm.io/package/@astrojs/alpinejs/versions

## README

# @astrojs/alpinejs

This **[Astro integration][astro-integration]** adds [Alpine.js](https://alpinejs.dev/) to your project so that you can use Alpine.js anywhere on your page.

## Documentation

Read the [`@astrojs/alpinejs` docs][docs]

## Support

- Get help in the [Astro Discord][discord]. Post questions in our `#support` forum, or visit our dedicated `#dev` channel to discuss current development and more!

- Check our [Astro Integration Documentation][astro-integration] for more on integrations.

- Submit bug reports and feature requests as [GitHub issues][issues].

## Contributing

This package is maintained by Astro's Core team. You're welcome to submit an issue or PR! These links will help you get started:

- [Contributor Manual][contributing]
- [Code of Conduct][coc]
- [Community Guide][community]

## License

MIT

Copyright (c) 2023–present [Astro][astro]

[astro]: https://astro.build/
[docs]: https://docs.astro.build/en/guides/integrations-guide/alpinejs/
[contributing]: https://github.com/withastro/astro/blob/main/CONTRIBUTING.md
[coc]: https://github.com/withastro/.github/blob/main/CODE_OF_CONDUCT.md
[community]: https://github.com/withastro/.github/blob/main/COMMUNITY_GUIDE.md
[discord]: https://astro.build/chat/
[issues]: https://github.com/withastro/astro/issues
[astro-integration]: https://docs.astro.build/en/guides/integrations/

---
_Source: https://npm.io/package/@astrojs/alpinejs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
