# Use color-input component with non-admin users

**URL:** https://meta.discourse.org/t/use-color-input-component-with-non-admin-users/387791
**Category:** Development
**Tags:** ember
**Created:** [November 6, 2025, 3:40pm UTC](https://meta.discourse.org/t/use-color-input-component-with-non-admin-users/387791 "2025-11-06T15:40:13Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [November 7, 2025, 12:28pm UTC](https://meta.discourse.org/t/use-color-input-component-with-non-admin-users/387791/4 "2025-11-07T12:28:57Z")

</div>

Yeah this is exactly the problem - we don’t (yet) have any automatic tree-shaking. Admin modules are separated out manually so that regular users don’t have to pay the cost of loading them over the network.

> [@pirhoo](#):
>
> copy the existing one

That’s probably the best bet. IIRC the color selector is fairly self-contained so it should be easy to copy. That also has the advantage of insulating your plugin from any changes made to the core component (which isn’t really considered “public api”)

---

_[View the full topic](https://meta.discourse.org/t/use-color-input-component-with-non-admin-users/387791)._
