# Lock Composer

**URL:** https://meta.discourse.org/t/lock-composer/396168
**Category:** Theme component
**Tags:** composer
**Created:** [February 16, 2026, 6:11am UTC](https://meta.discourse.org/t/lock-composer/396168 "2026-02-16T06:11:15Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [February 16, 2026, 6:11am UTC](https://meta.discourse.org/t/lock-composer/396168/1 "2026-02-16T06:11:15Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Summary** | Lock/unlock the composer to prevent accidental sending |
| 🛠 | **Repository** | [GitHub - NateDhaliwal/discourse-lock-composer · GitHub](https://github.com/NateDhaliwal/discourse-lock-composer) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

Install this theme component

This is a simple component to lock/unlock the composer to prevent accidental sending. Originally brought up in [The awkward mishap of premature posting](https://meta.discourse.org/t/the-awkward-mishap-of-premature-posting/395908?username=natedhaliwal).

Locked:

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/5/c/a5ca68dc102ee4efd80969526275949e07e81589.png)

Unlocked:

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/0/2/80284feebb6913d61b4df032202bde3fef01937e.png)

Toasts are also shown once you click on the lock icon (texts are customizable as locales).

![image](https://global.discourse-cdn.com/meta/original/4X/7/6/3/763fa61da6b985b54417522f41592ab2ca99d6e2.png)

![image](https://global.discourse-cdn.com/meta/original/4X/c/e/3/ce38a4595f8ff14cc7ff365ee38078f50e62e65b.png)

Hope this helps!

---

_[View the full topic](https://meta.discourse.org/t/lock-composer/396168)._
