# astro-tailwind-v4

> Adds Astro support for Tailwind v4

Latest version **0.0.3** (published 2024-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install astro-tailwind-v4
pnpm add astro-tailwind-v4
yarn add astro-tailwind-v4
bun add astro-tailwind-v4
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2024-03-12 |
| First published | 2024-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 3 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jacob Jenkins - @jdtjenkins |
| Maintainers | jumper |
| Keywords | astro-integration, astro-component, withastro, astro, tailwind |

## Links

- npm: https://www.npmjs.com/package/astro-tailwind-v4
- Homepage: https://github.com/jdtjenkins/astro-tailwind-v4
- npm.io page: https://npm.io/package/astro-tailwind-v4

## Dependencies (3)

- [tailwindcss](https://npm.io/package/tailwindcss.md) 4.0.0-alpha.6
- [@tailwindcss/vite](https://npm.io/package/@tailwindcss/vite.md) 4.0.0-alpha.6
- [astro-integration-kit](https://npm.io/package/astro-integration-kit.md) ^0.5.0

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2024-03-12
- 0.0.2 — 2024-03-08

## README

# astro-tailwind-v4

This is an [Astro integration](https://docs.astro.build/en/guides/integrations-guide/) that adds Tailwind v4 support to your Astro project.

## Usage

### Installation

Install the integration **automatically** using the Astro CLI:

```bash
pnpm astro add astro-tailwind-v4
```

```bash
npx astro add astro-tailwind-v4
```

```bash
yarn astro add astro-tailwind-v4
```

Or install it **manually**:

1. Install the required dependencies

```bash
pnpm add astro-tailwind-v4
```

```bash
npm install astro-tailwind-v4
```

```bash
yarn add astro-tailwind-v4
```

2. Add the integration to your astro config

```diff
+import AstroTailwindV4 from "astro-tailwind-v4";

export default defineConfig({
  integrations: [
+    AstroTailwindV4(),
  ],
});
```

### Configuration

#### applyBaseStyles

default: `true`

Disable if you don't want default Tailwind base styling

## Contributing

This package is structured as a monorepo:

- `playground` contains code for testing the package
- `package` contains the actual package

Install dependencies using pnpm: 

```bash
pnpm i --frozen-lockfile
```

Start the playground:

```bash
pnpm playground:dev
```

You can now edit files in `package`. Please note that making changes to those files may require restarting the playground dev server.

## Licensing

[MIT Licensed](https://github.com/jdtjenkins/astro-tailwind-v4/blob/main/LICENSE). Made with ❤️ by [jdtjenkins](https://github.com/jdtjenkins).

## Acknowledgements

Astro
Tailwind

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