InputNumber

Basic button compoment

Installing

Install the component

npm install @supabase/ui

Getting started

Import the component

@import { InputNumber } from '@supabase/ui'

Basic

You can define the type of a button using the type prop. There are primary, default, secondary, outline, dashed, and text,

1import { InputNumber } from "@supabase/ui";
2
3export default function InputNumberBasic() {
4  return <InputNumber label="Input number" />;
5}
6

Min and Max

You can define the type of a button using the type prop. There are primary, default, secondary, outline, dashed, and text,

1import { InputNumber } from "@supabase/ui";
2
3export default function InputNumberBasic() {
4  return <InputNumber label="Input number" min={10} max={100} />;
5}
6

API reference

SyntaxDescription
HeaderTitle
ParagraphText