Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Displays a slider input using Fluent UI Slider component.
import React, { useState } from 'react';
import { Slider, Stack, Text } from '@fluentui/react';
const SliderExample = () => {
const [value, setValue] = useState(50);
return (
<Stack horizontalAlign='center' verticalAlign='center' verticalFill styles={{ root: { minHeight: '100vh', width: 300 } }}>
<Slider label='Volume' min={0} max={100} step={1} value={value} onChange={setValue} showValue />
<Text>Value: {value}</Text>
</Stack>
);
};
export default SliderExample;Fluent UI is a React-based front-end framework developed by Microsoft that provides a set of customizable, accessible, and enterprise-ready UI components for building modern web applications.
Origin & Creator
Created by Microsoft (initially as Office UI Fabric) in 2016 to standardize UI for Office and enterprise apps.
Industrial Note
Fluent UI is widely used in Microsoft ecosystems, Office 365 integrations, and enterprise web applications requiring consistency with Microsoft design guidelines.