---
title: "Bearnie components for Astro and Tailwind CSS | Swipe"
description: "Bearnie is an open-source Astro and Tailwind CSS component library with a CLI and MCP server for copying components into your codebase."
canonical: "https://swipe.md/tools/bearnie"
language: "en"
---

UI components · Checked 19 August 2026

# Bearnie: Copy accessible components into Astro

Add the block you need and keep the source in your project.

Bearnie is an open-source Astro and Tailwind CSS component library with a CLI and MCP server for copying components into your codebase.

Type

cli

Works on

Astro, Tailwind CSS, CLI, MCP

[Open Bearnie ↗︎](https://bearnie.dev/)

## Copy components into the project you own

Bearnie provides Astro components for forms, navigation, feedback, dialogs, tables, and other common interface jobs. The CLI copies the selected source and its dependencies into your project instead of hiding them in a package.

It needs Astro 7 and Tailwind CSS 4. Initialise an existing project, add the theme, then copy only the components you need:

```
npx bearnie init
npx bearnie add styles
npx bearnie add button card dialog
```

Agents can also search and install components through the separate `@bearnie/mcp` server.

## Updates can overwrite local changes

Copied components do not update themselves. Running the add command again with confirmation disabled can overwrite changes you made to that component. Keep your edits in Git and review the diff when you pull a newer version.

Accessibility still depends on the finished page. Tab through interactive blocks and test their labels, focus order, contrast, and error states after you fit them to your own design.

## Featured in Swipe

-   [fix tests that don't test anything](https://swipe.md/issues/the-tests-that-dont-test-anything)

## Sources

-   [Bearnie documentation](https://bearnie.dev/docs)
-   [Bearnie repository and README](https://github.com/michael-andreuzza/bearnie)
-   [Bearnie installation guide](https://github.com/michael-andreuzza/bearnie/blob/main/src/content/docs/installation.mdx)
-   [Bearnie MCP server guide](https://github.com/michael-andreuzza/bearnie/blob/main/packages/mcp/README.md)
-   [Bearnie v0.1.7](https://github.com/michael-andreuzza/bearnie/releases/tag/v0.1.7)
