Skip to content

Commit 65b043b

Browse files
committed
docs(input-otp): update the property sections
1 parent 6792afb commit 65b043b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/api/input-otp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,23 @@ import Type from '@site/static/usage/v8/input-otp/type/index.md';
4747

4848
## Shape
4949

50-
The `shape` property controls the visual appearance of input boxes with three options: `soft`, `round`, and `rectangular`. It uses `shape="round"` by default, displaying input boxes with fully rounded corners. The `soft` shape provides slightly rounded corners, while `rectangular` has sharp corners.
50+
The `shape` property controls the border radius of the input boxes, creating rounded or sharp corners.
5151

5252
import Shape from '@site/static/usage/v8/input-otp/shape/index.md';
5353

5454
<Shape />
5555

5656
## Fill
5757

58-
The `fill` property offers two visual styles: `outline` and `solid`. It uses `fill="outline"` by default, displaying input boxes with a border. When `fill="solid"` is specified, input boxes have a filled background.
58+
The `fill` property controls the background style of the input boxes, offering bordered or filled backgrounds.
5959

6060
import Fill from '@site/static/usage/v8/input-otp/fill/index.md';
6161

6262
<Fill />
6363

6464
## Size
6565

66-
The `size` property provides three size options: `small`, `medium`, and `large`. It uses `size="medium"` by default for a balanced input box size. The `small` size creates compact input boxes, while `large` creates spacious ones.
66+
The `size` property provides different size options for the input boxes.
6767

6868
import Size from '@site/static/usage/v8/input-otp/size/index.md';
6969

@@ -76,7 +76,7 @@ The `separators` property adds visual dividers between one or more of the input
7676
- Array of numbers (e.g., `[1, 3]`)
7777
- String `"all"` to show separators between every input box
7878

79-
The numbers represent the index after which a separator should appear. For example, `"1"` displays a separator after the first input box. This can be used to create visually distinct groupings of input boxes, but it will still have one value.
79+
The numbers represent the index after which a separator should appear. For example, `"1,3"` displays a separator after the first and third input box. This can be used to create visually distinct groupings of input boxes, but it will still have one value.
8080

8181
import Separators from '@site/static/usage/v8/input-otp/separators/index.md';
8282

0 commit comments

Comments
 (0)