<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>UI Library on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/ui-library/</link><description>Recent content in UI Library on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 10 Feb 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/ui-library/index.xml" rel="self" type="application/rss+xml"/><item><title>Component Craft: Angular UI Library Forge - Fast-Track UI Libraries</title><link>https://ai-blog.noorshomelab.dev/cut-the-chase/angular-ui-forge/</link><pubDate>Tue, 10 Feb 2026 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/cut-the-chase/angular-ui-forge/</guid><description>&lt;h1 id="component-craft-angular-ui-library-forge---fast-track-ui-libraries"&gt;Component Craft: Angular UI Library Forge - Fast-Track UI Libraries&lt;/h1&gt;
&lt;p&gt;Angular v18.x, Angular CLI v18.x (as of 2026-02-10)&lt;/p&gt;
&lt;h2 id="workspace--library-generation"&gt;Workspace &amp;amp; Library Generation&lt;/h2&gt;
&lt;p&gt;Begin by creating a new Angular monorepo workspace without an initial application, then generate your UI library.&lt;/p&gt;
&lt;div class="highlight"&gt;
&lt;pre class="language-typescript line-numbers" data-start="1" tabindex="0"&gt;&lt;code class="language-typescript" data-lang="typescript"&gt;ng new my-ui-workspace --no-create-application --strict --standalone false --routing false --style scss
// Creates a new Angular workspace without a root application.
// --no-create-application: Skips initial app creation.
// --strict: Enables strict type checking.
// --standalone false: Uses NgModules (still common for libraries, though standalone is default for apps).
// --routing false: No routing module.
// --style scss: Preferred stylesheet format.
cd my-ui-workspace
// Navigate into the new workspace directory.
ng generate library my-ui-components --prefix mui --skip-install
// Generates a new library project named &amp;#39;my-ui-components&amp;#39;.
// --prefix mui: Sets the prefix for generated components (e.g., &amp;lt;mui-button&amp;gt;).
// --skip-install: Skips running npm install after generation (useful for monorepos).&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;h2 id="component-structure--public-api"&gt;Component Structure &amp;amp; Public API&lt;/h2&gt;
&lt;p&gt;Organize your library components and expose them through the &lt;code&gt;public-api.ts&lt;/code&gt; file, which defines the library&amp;rsquo;s public interface.&lt;/p&gt;</description></item></channel></rss>