# Implementing template fragments for EEx

**URL:** <https://forum.elixirforum.com/t/implementing-template-fragments-for-eex/62147>\
**Category:** Questions\
**Tags:** macros, eex\
**Created:** [March 7, 2024, 4:40am UTC](https://forum.elixirforum.com/t/implementing-template-fragments-for-eex/62147 "2024-03-07T04:40:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![al2o3cr](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/al2o3cr/32/3457_2.png) [@al2o3cr](https://forum.elixirforum.com/u/al2o3cr)\
**Post date:** [March 8, 2024, 2:27am UTC](https://forum.elixirforum.com/t/implementing-template-fragments-for-eex/62147/5 "2024-03-08T02:27:56Z")

</div>

Oops, I typed my earlier response too fast without checking the version of the docs I was referencing - the EEx sigil _used_ to be in `Phoenix.HTML` but was deprecated.

You could reuse the implementation, though. Apart from the Phoenix-specific `engine`, there’s no other coupling to that package:

> <https://github.com/phoenixframework/phoenix_html/blob/ef2df70d7166d49adb4a62c5071468c0305468b0/lib/phoenix_html.ex#L66-L105>

---

_[View the full topic](https://forum.elixirforum.com/t/implementing-template-fragments-for-eex/62147)._
