# Buttons plugin for Obsidian
Legacy plugin for clickable buttons inside notes, superseded by [[Meta Bind plugin for Obsidian|Meta Bind]].
> [!warning] Legacy
> Use [[Meta Bind plugin for Obsidian|Meta Bind]] instead. Its button system covers everything Buttons does and adds input fields bound to frontmatter. Buttons still receives occasional fixes, but it is not where the work happens any more. Keep this note for vaults that already use it.
Buttons, by shabegom, renders a code block as a clickable element in [[Obsidian]]. You give it a name, a type, and an action:
````markdown
```button
name Open today
type command
action Periodic Notes: Open today's daily note
```
````
The types are `command`, `link`, `calculate`, `text`, `template`, `swap`, and `chain`. A chain button takes a JSON array and runs several actions in sequence, so one click can open a note, append a heading, and insert a template. Extra arguments cover the rest: `color`, `class`, `width`, `height`, `align`, `templater true` to evaluate a [[Templater plugin for Obsidian|Templater]] command at click time, and `remove true` to make a button delete itself after running.
Give a button a block id (`^button-daily`) and you can call it from anywhere with an inline reference. The definition lives in one note, every other note points at it, and editing the definition updates them all. There's also a Button Maker in the command palette if you'd rather not write the block by hand.
It is most useful on dashboards, MOCs, and home notes: the actions you run often become visible and clickable instead of hidden behind a command palette entry you have to remember. It composes well with [[QuickAdd plugin for Obsidian|QuickAdd]] macros and Templater templates, which supply the logic behind the click.
Buttons is still widely installed, so it's mostly what you meet in vaults that were built a few years ago. Migrating means rewriting each `button` block as a Meta Bind button block; the concepts map over, the syntax does not.
## References
- Documentation: https://buttonslovesyou.com
- Download: https://obsidian.md/plugins?id=buttons
- Source code: https://github.com/shabegom/buttons
## Related
- [[Obsidian]]
- [[Obsidian Community Plugins]]
- [[Meta Bind plugin for Obsidian]]