Skip to main content
Version: 1.x

@microsoft/fast-components > provideFASTDesignSystem

provideFASTDesignSystem() function

Provides a design system for the specified element either by returning one that was already created for that element or creating one.

Signature:
export declare function provideFASTDesignSystem(element?: HTMLElement): DesignSystem;

Parameters

ParameterTypeDescription
elementHTMLElementThe element to root the design system at. By default, this is the body.
Returns:

DesignSystem

A FAST Design System