Socket
Socket
Sign inDemoInstall

@fluentui/react-spinbutton

Package Overview
Dependencies
30
Maintainers
12
Versions
564
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fluentui/react-spinbutton

Fluent UI React SpinButton component.


Version published
Weekly downloads
82K
decreased by-2.01%
Maintainers
12
Created
Weekly downloads
 

Readme

Source

@fluentui/react-spinbutton

SpinButton component for Fluent UI React

SpinButtons are used to allow numeric input bounded between minimum and maximum values with buttons to increment and decrement the input value. Values can also be manipulated via the keyboard.

Usage

Import SpinButton:

import { SpinButton } from '@fluentui/react-spinbutton';
Examples
<SpinButton defaultValue={5}/>
<SpinButton value={value} onChange={onSpinButtonChange}/>

See Fluent UI Storybook for more detailed usage examples.

Alternatively, run Storybook locally with:

  1. yarn start
  2. Select react-spinbutton from the list.

Specification

See Spec.md.

Migration Guide

When upgrading to Fluent UI v9 see the upgrade guide for guidance on updating to the latest SpinButton implementation.

FAQs

Last updated on 23 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc