# Pines UI — card for AI agents

Alpine.js + Tailwind CSS UI library of copy-paste elements (menus, modals, tabs, banners, sliders) that work in plain HTML.

Category: Website sections and blocks (also: UI kits and website templates, UI animation (Lottie, Rive)) · maker DevDojo · checked 2026-11-05 · style: minimal

## Price
- Price: Free
- Free tier: Fully free.

## License
MIT — https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md

- commercial: **yes** (Commercial use OK)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md)
- attribution: **no** (No credit needed)
  > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  (https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md)
- in app: **yes** (Can ship inside your app)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md)
- redistribute: **yes** (Can pass the files on to your own users)
  > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software
  (https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md)

## Rules to follow
- Keep the MIT copyright notice in the code if you redistribute it.
- No visible credit on the site is required by the licence.

## Can an AI agent use it by itself?
**Yes** · copy-code: Agent copies the code, snippet or prompt from the page (no account)

## How an agent gets files
- Open devdojo.com/pines/docs, copy the HTML with Alpine attributes; include Alpine.js and Tailwind. No account. (sign-in: none)
- Formats: html
- Not allowed: Needs Alpine.js and Tailwind CSS

## How to connect
- Download only
- Repository: https://github.com/thedevdojo/pines
- Website: https://devdojo.com/pines

## Notes
Mostly UI elements rather than full page sections.

## Numbers (AgentGid data)
- Gid Score: 21
- GitHub stars: 3,425

## Lines to paste into your prompt or AGENTS.md

```
- Pines UI (Website sections and blocks, UI kits and website templates, UI animation (Lottie, Rive)). Alpine.js + Tailwind CSS UI library of copy-paste elements (menus, modals, tabs, banners, sliders) that work in plain HTML. Price: free; commercial use OK; no credit needed. Style: minimal.
  Connect: download from https://devdojo.com/pines (no API).
  Get files: Open devdojo.com/pines/docs, copy the HTML with Alpine attributes; include Alpine.js and Tailwind. No account (html).
  Not allowed: Needs Alpine.js and Tailwind CSS
  Rule: Keep the MIT copyright notice in the code if you redistribute it.
  Rule: No visible credit on the site is required by the licence.
  License: https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md (checked 2026-11-05; details: https://agentgid.com/assets/pines/)
```

## Links
- AgentGid page: https://agentgid.com/assets/pines/
- Is it free for commercial use? https://agentgid.com/assets/pines/commercial-use/
- Source: https://devdojo.com/pines
- Source: https://github.com/thedevdojo/pines
- Source: https://raw.githubusercontent.com/thedevdojo/pines/main/LICENSE.md


## Pines UI: copy-paste menus, tabs and pop-ups for plain HTML

Pines UI is a free collection of 42 ready interface parts, such as tabs, accordions, pop-up windows, date pickers, notices and dropdown menus. You copy a part's code into your page and it works right away. It needs two small helpers on the page, Alpine.js for the clicks and Tailwind CSS for the looks, and no build step.

### Where to use it
- Interactive parts on a simple site: Add tabs, an FAQ that opens and closes, or a pop-up window to a static page, a Laravel or a Rails site without moving to a big front-end framework.
- Short notices after an action: Show a small message at the top of the screen after someone saves, sends or deletes something, like "Changes saved".
- Sign-up and settings forms: Build a settings or account screen from ready tabs, switches, select boxes, date pickers and text fields that already look consistent.
- Announcement and cookie banners: Put a banner at the top or bottom of the page for a sale, a launch or a cookie notice, which the visitor can close.
- A side panel for details: Open a panel from the side of the screen for a cart, filters or item details, without leaving the page.
- Your own reusable tooltip: Turn a part you use often, such as the tooltip, into one short attribute you can put on any element, so changes happen in one place.

### How to start
- Load Alpine.js and Tailwind CSS on your page. The docs' quick snippet uses the Tailwind browser script, which is meant for testing, not for a live site.

```
<!-- Include the Alpine library on your page -->
<script src="//unpkg.com/alpinejs" defer></script>
<!-- Include the TailwindCSS library on your page -->
<script src="https://cdn.tailwindcss.com"></script>
```

- Open an element in the docs, such as Tabs or Modal, copy its code and paste it where it should appear.
- For a live site, install Alpine and Tailwind in your project and bundle them, for example with Vite.

### License
MIT license: free to use in personal and paid sites, and you may change and share the code. No visible credit is needed; keep the license notice when you pass the code on.

### Good to know
- The accordion only animates with Alpine's collapse add-on loaded. Without it, the answers jump open with no slide.
- The quick setup loads Tailwind in the browser, which the docs say not to use on a live site. Bundle Tailwind and Alpine instead.
- Some samples show a person's photo or a background loaded from the maker's image server. Replace these pictures with your own before going live.
- Changes you make in the online Playground are not saved. Copy your edited code before leaving the page.

Checked 2026-11-12 against: https://devdojo.com/pines, https://devdojo.com/pines/docs, https://devdojo.com/pines/docs/accordion, https://devdojo.com/pines/docs/modal, https://devdojo.com/pines/docs/tabs, https://devdojo.com/pines/docs/toast, https://devdojo.com/pines/docs/banner, https://devdojo.com/pines/docs/slide-over, https://github.com/thedevdojo/pines, https://github.com/thedevdojo/pines/blob/main/Readme.md, https://github.com/thedevdojo/pines/blob/main/LICENSE.md, https://github.com/thedevdojo/pines/blob/main/getting-started/how-to-use.html, https://github.com/thedevdojo/pines/blob/main/getting-started/alpine-plugin.html, https://github.com/thedevdojo/pines/blob/main/elements/toast.html, https://devdojo.com/pines/docs/dropdown-menu, https://tailwindcss.com/docs/upgrade-guide

### Mistakes to avoid
- Don't: Loading only alpinejs and pasting the modal or popover element → Do: Load @alpinejs/focus (and @alpinejs/collapse for the accordion) before alpinejs (The modal uses x-trap, which comes from Alpine's focus add-on; the Pines preview page loads both add-ons.)
- Don't: <script src="//unpkg.com/alpinejs" defer> and cdn.tailwindcss.com on the live site → Do: Install alpinejs and tailwindcss at fixed versions and bundle them (for example with Vite) (The docs warn that the Tailwind browser script is not for production apps, and an unpinned script can change under you.)
- Don't: Pasting Pines into a Tailwind 4 project as is, so plain "border" lines turn dark → Do: Add Tailwind's v3 border-color base style or give each border a color such as border-neutral-200 (Pines was written for Tailwind 3, where borders defaulted to gray-200; in our demo the borders were black until we added that base style.)
- Don't: Leaving out the [x-cloak]{display:none} style → Do: Keep the x-cloak style in the page head (Without it, hidden parts flash on screen before Alpine starts; the docs' page template includes it.)

### Questions
- Do I need React, Vue or a build tool? No. The elements are plain HTML with Alpine and Tailwind; for a live site the docs suggest bundling those two, for example with Vite.
- Which elements are there? Among others accordions, modals, date pickers, command palettes, tooltips, marquees, tabs, toasts, banners and slide-over panels.
- Can I try an element before copying it? Yes. Every element in the docs has a live preview and its code, and the Playground lets you edit it in the browser.
- Does it work with Laravel or Rails? Yes. Any site that can load the Alpine and Tailwind scripts can use the elements.
- Can I use it in a paid product? Yes. It is MIT licensed; keep the license notice when you pass the code on.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
