Adopt AI Core shared UI library in CCC and escape data before rendering
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3569776. -->
Reported by: [afoster](https://www.drupal.org/user/594458)
Related to !95 !81
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong> Adopt AI Core shared UI library in Context Control Center<br>
<strong>Check-in Date: </strong>01/26/2026<br>
<strong>Blocked by: </strong>[#XXXXXX] (New issues on new lines)<br>
<strong>Additional Collaborators: </strong> @username1, @username2<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Overview</h3>
<p>Update Context Control Center to use the shared CSS classes and components from AI Core. This is the second test case for the shared library approach after AI Dashboard.</p>
<ul>
<li>Remove duplicate UI elements that now live in the shared library.</li>
<li>Add new icons in use (checkmarks, etc) in the AI core module</li>
<li>Update any changed needed to the CSS/JS/Icons developer docs in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3569748" title="Status: Closed (fixed)">#3569748: Update Developer Documentation for CSS Utilities</a></span></li>
</ul>
<p>Additionally, make sure all rendered data is properly escaped.</p>
<p>[X] AI Assisted Issue<br>
This issue was generated with AI assistance, but was reviewed and refined by the creator.</p>
<p>[ ] AI Assisted Code<br>
This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p>
<p>[ ] AI Generated Code<br>
This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p>
<p>[ ] Vibe Coded<br>
This code was generated by an AI and has only been functionally tested.</p>
> Related issue: [Issue #3569748](https://www.drupal.org/node/3569748)
> Related issue: [Issue #3569769](https://www.drupal.org/node/3569769)
issue