CSS GUIv0.0.138DocsPropertiesGitHubLog inSign up

Number

A compact, scrubbable number input.

Example

Usage

import { useState } from 'react'
import { NumberInput } from '@compai/css-gui'

export const Component = () => {
  const [value, setValue] = useState<number>(16)

  return <Number value={value} onChange={setValue}>
}