import * as React from 'react'; import { ExampleCard, IComponentDemoPageProps, ComponentPage, PropertiesTableSet, } from '@fluentui/react-docsite-components'; import { SignalFieldBasicExample } from './SignalField.Basic.Example'; const SignalFieldBasicExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react-experiments/Signals/SignalField.Basic.Example.tsx') as string; import { SignalsBasicExample } from './Signals.Basic.Example'; const SignalsBasicExampleCode = require('!raw-loader?esModule=false!@fluentui/react-examples/src/react-experiments/Signals/Signals.Basic.Example.tsx') as string; export class SignalsPage extends React.Component { public render(): JSX.Element { return ( } propertiesTables={ ('!raw-loader?esModule=false!@fluentui/react-experiments/src/components/signals/Signals.Props.ts'), ]} /> } overview={

A Signal is a combination of an Icon with a color and optional metadata which carries a standardized, semantic meaning.

A SignalField is a layout component which nicely arranges Signal and text elements for presentation.

} dos={
  • Use them to associate a document with a specific state.
  • Assign localized aria-label attributes to the Signal elements which align with their meaning.
} donts={
  • Use them just for their icon, or re-assign their colors.
} isHeaderVisible={this.props.isHeaderVisible} /> ); } }