# Custom Component: Tailwind Colour Swatches

**URL:** <https://forums.realmacsoftware.com/t/custom-component-tailwind-colour-swatches/54040>\
**Category:** Elements API\
**Created:** [February 1, 2026, 5:44pm UTC](https://forums.realmacsoftware.com/t/custom-component-tailwind-colour-swatches/54040 "2026-02-01T17:44:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 1, 2026, 5:44pm UTC](https://forums.realmacsoftware.com/t/custom-component-tailwind-colour-swatches/54040/1 "2026-02-01T17:44:38Z")

</div>

Had a little fun with Claude building a custom component to test out the colours on our new themes…

Clicking on a swatch copies the tailwind colour name to the clipboard. This is nothing fancy or new (as there’s plenty out there that already do this), but it’s cool you can easily build this and put it in an Elements Project 😆
