New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fluentui/react-progress

Package Overview
Dependencies
Maintainers
14
Versions
726
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-progress

Progress component for FluentUI v9

0.0.0-nightly-20221215-0425.1
Source
npm
Version published
Weekly downloads
118K
6.67%
Maintainers
14
Weekly downloads
 
Created
Source

@fluentui/react-progress

React Progress components for Fluent UI React

STATUS: Alpha

These are not production-ready components and should never be used in product. This space is useful for testing new components whose APIs might change before final release.

Usage

To import Progress:

import { Progress } from '@fluentui/react-progress';

Once the Progress component graduates to a production release, the component will be available at:

import { Progress } from '@fluentui/react-components';

Examples

const ProgressExample = () => {
  return <Progress thickness="large" value={0.5} />;
};
Using ProgressField

The ProgressField component is a wrapper around the Progress component that allows the user to add a label, hint, validationMessage, and validationState to the Progress component. You can pass these props, as well as the regular Progress props to a ProgressField component.

To import ProgressField:

import { ProgressField } from '@fluentui/react-field';
const ProgressFieldExample = () => {
  return (
    <ProgressField
      label="Determinate Progress"
      hint="This is a determinate Progress with description"
      value={0.5}
      validationState="warning"
    />
  );
};

FAQs

Package last updated on 15 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts