Overview
The FAST monorepo is a collection of technologies built on Web Components and modern Web Standards. It offers reusable UI components, design systems, SSR capabilities, and integration with various libraries and frameworks. FAST can be adopted incrementally without rewriting existing systems.
Features
- @microsoft/fast-element: Lightweight library for building performant and standards-compliant Web Components.
- @microsoft/fast-foundation: Library of Web Component classes, templates, and utilities for design systems.
- @microsoft/fast-ssr: NodeJS solution for rendering FAST templates and components, supports server-side rendering.
- @microsoft/fast-router: Web Components router for building SPAs and rich experiences.
- @microsoft/fast-react-wrapper: Allows React users to turn any Web Component into a native React component.
- Integration with any library, framework, or build system.
- Reusable components based on W3C Web Component standards.
- W3C OpenUI-based design systems without re-implementing component logic.
- Modern, standards-based SSR for Web Components.
Installation
To get started with FAST, follow these steps:
- Install the required packages:
npm install @microsoft/fast-element
npm install @microsoft/fast-foundation
npm install @microsoft/fast-ssr
npm install @microsoft/fast-router
- Import the desired packages into your project:
import { FASTElement } from '@microsoft/fast-element';
import { FASTFoundation } from '@microsoft/fast-foundation';
import { FASTSSR } from '@microsoft/fast-ssr';
import { FASTRouter } from '@microsoft/fast-router';
- Start building with FAST and take advantage of its features.
Summary
The FAST monorepo is a comprehensive collection of technologies and libraries for building scalable and efficient web and application designs. It provides reusable UI components, design systems, server-side rendering, and integration capabilities. With FAST, developers can adopt modern web standards and quickly develop high-quality experiences without the need for extensive rewriting or reimplementation.