1.13.0 • Published 1 month ago

@microsoft/fast-element v1.13.0

Weekly downloads
1,552
License
MIT
Repository
github
Last release
1 month ago

FAST Element

License: MIT npm version

The fast-element library is a lightweight means to easily build performant, memory-efficient, standards-compliant Web Components. FAST Elements work in every major browser and can be used in combination with any front-end framework or even without a framework.

Installation

From NPM

To install the fast-element library, use either npm or yarn as follows:

npm install --save @microsoft/fast-element
yarn add @microsoft/fast-element

Within your JavaScript or TypeScript code, you can then import library APIs like this:

import { FASTElement } from '@microsoft/fast-element';

:::tip Looking for a setup that integrates with a particular front-end framework or bundler? Check out our integration docs. :::

From CDN

A pre-bundled script that contains all APIs needed to build web components with FAST Element is available on CDN. You can use this script by adding type="module" to the script element and then importing from the CDN.

<!DOCTYPE html>
<html lang="en">
    <head>
        <script type="module">
          import { FASTElement } from "https://cdn.jsdelivr.net/npm/@microsoft/fast-element/dist/fast-element.min.js";

          // your code here
        </script>
    </head>
    <!-- ... -->
</html>

The markup above always references the latest release. When deploying to production, you will want to ship with a specific version. Here's an example of the markup for that:

<script type="module" src="https://cdn.jsdelivr.net/npm/@microsoft/fast-element@1.6.2/dist/fast-element.min.js"></script>

:::note For simplicity, examples throughout the documentation will assume the library has been installed from NPM, but you can always replace the import location with the CDN URL. :::

:::tip Looking for a quick guide on building components? Check out our Cheat Sheet. :::

@genesislcap/foundation-layoutpnp-modern-search-core@command.digital/formation@command.digital/foundation-ui@microsoft/vscode-webview-ui-toolkit@everything-registry/sub-chunk-602ecc-client-ga4gh-tes-anuragmy-fast-element@elixir-cloud/tesecc-client-ga4gh-tes-jaejae-tesfast-jae-aeich@divriots/starter-furious@fabric-msft/fabric-web@genesislcap/foundation-cli@genesislcap/foundation-comms@genesislcap/foundation-criteria@genesislcap/foundation-entity-management@genesislcap/foundation-filters@genesislcap/foundation-forms@genesislcap/foundation-header@genesislcap/foundation-i18n@genesislcap/foundation-inbox@genesislcap/foundation-login@genesislcap/foundation-notification-dashboard@genesislcap/documentation-components@genesislcap/foundation-alerts@genesislcap/foundation-auth@genesislcap/foundation-broadcast-channel@genesislcap/alpha-design-system@genesislcap/foundation-events@genesislcap/foundation-fdc3@genesislcap/design-system-configurator@genesislcap/foundation-zero-grid-tabulator@genesislcap/g2plot-chart@genesislcap/grid-next@genesislcap/grid-pro@genesislcap/foundation-testing@genesislcap/foundation-ui@genesislcap/foundation-user@genesislcap/foundation-utils@genesislcap/foundation-settings@genesislcap/foundation-shell@genesislcap/foundation-state-machine@genesislcap/foundation-store@genesislcap/grid-tabulator@genesislcap/rapid-design-system@genesislcap/rapid-grid-pro@genesislcap/foundation-progress-overlay@genesislcap/foundation-reporting@genesislcap/foundation-services-status@genesislcap/foundation-zero@genesislcap/foundation-zero-grid-next@genesislcap/foundation-zero-grid-pro@genesislcap/web-core@geometryzen/fast-element@ecos/ecos-design-systemcytoscape-rdfdesign-to-codedesign-to-code-react@fluentui/web-components@horizon-msft/web-components@horizon-msft/copilot-web-components@hackgt/fluorenee-design-to-code-react@microsoft/fast-components@microsoft/fast-components-msft@microsoft/fast-foundation@microsoft/fast-react-wrapper@microsoft/fast-router@microsoft/fast-tooling@microsoft/fast-tooling-react@microsoft/cfp-template@m4thieulavoie/design-system@infinitebrahmanuniverse/nolb-_micros@isalvaus/web-components@jupyter/web-components@jupyter-notebook/web-components@ltmp/components@kingoftac/frame@pnp/modern-search-core@rss-eng/fabric-elements@rws-framework/client@trans-stat/auth-componentsjia-design-to-code-react@topheruk/components@neutron-ui/fast-preview@neutron-ui/playground@ni/nimble-components@ni/spright-components@ni/spright-components-armstrong@ni/spright-components-core@ni/spright-components-stratusrws-js-client@wcd/p1p3.fast-khbytdpk@wcd/jstnjs.fast-l1hkr74f@vonage/vwc-breadcrumb@vonage/vwc-breadcrumb-item@vscode/webview-ui-toolkitvivid
1.13.0

1 month ago

2.0.0-beta.26

9 months ago

2.0.0-beta.25

9 months ago

1.12.0

1 year ago

2.0.0-beta.24

11 months ago

2.0.0-beta.22

1 year ago

2.0.0-beta.23

1 year ago

1.11.1

1 year ago

2.0.0-beta.21

1 year ago

2.0.0-beta.20

1 year ago

2.0.0-beta.19

1 year ago

2.0.0-beta.18

1 year ago

2.0.0-beta.11

2 years ago

2.0.0-beta.10

2 years ago

2.0.0-beta.15

2 years ago

2.0.0-beta.14

2 years ago

2.0.0-beta.13

2 years ago

2.0.0-beta.12

2 years ago

1.11.0

2 years ago

2.0.0-beta.17

2 years ago

2.0.0-beta.16

2 years ago

2.0.0-beta.9

2 years ago

2.0.0-beta.8

2 years ago

2.0.0-beta.7

2 years ago

2.0.0-beta.6

2 years ago

1.10.5

2 years ago

1.10.4

2 years ago

1.10.3

2 years ago

2.0.0-beta.2

2 years ago

2.0.0-beta.5

2 years ago

2.0.0-beta.4

2 years ago

2.0.0-beta.3

2 years ago

1.10.2

2 years ago

2.0.0-beta.1

2 years ago

1.10.1

2 years ago

1.9.0

2 years ago

1.10.0

2 years ago

1.8.0

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.4.2

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.22.2

3 years ago

0.22.1

3 years ago

0.22.0

3 years ago

0.21.1

3 years ago

0.21.0

3 years ago

0.20.0

3 years ago

0.19.1

4 years ago

0.19.0

4 years ago

0.18.0

4 years ago

0.17.0

4 years ago

0.16.0

4 years ago

0.15.2

4 years ago

0.15.1

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.1

4 years ago

0.10.2

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago