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 ↗︎

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

Sources

Swipe the best AI skills, prompts, and workflows.

The newsletter to learn AI by stealing the cool ideas, skills, and tools you didn't know you needed.

One more step.

Check your inbox to confirm your subscription. Can't find it? Check your spam or junk folder.