Skip to main content
About Project Overview Contributing Getting Started Installation Usage Themes Customizing Frameworks React Vue Angular GitHub Light Dark System

Skeleton

<terra-skeleton> | TerraSkeleton
Since 1.0 stable

Skeletons are loading indicators to represent where content will eventually be drawn.

<terra-skeleton></terra-skeleton>

Examples

First Example

TODO

Second Example

TODO

[component-metadata:terra-skeleton]

Importing

If you’re using the autoloader or the traditional loader, you can ignore this section. Otherwise, feel free to use any of the following snippets to cherry pick this component.

Script Import Bundler React

To import this component from the CDN using a script tag:

<script type="module" src="https://cdn.jsdelivr.net/npm/@nasa-terra/components@0.0.138/cdn/components/skeleton/skeleton.js"></script>

To import this component from the CDN using a JavaScript import:

import 'https://cdn.jsdelivr.net/npm/@nasa-terra/components@0.0.138/cdn/components/skeleton/skeleton.js';

To import this component using a bundler:

import '@nasa-terra/components/dist/components/skeleton/skeleton.js';

To import this component as a React component:

import TerraSkeleton from '@nasa-terra/components/dist/react/skeleton';