Skip to content

Commit fea7e3e

Browse files
committed
docs: date-input changeset
1 parent d7650ac commit fea7e3e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@ark-ui/react': minor
3+
'@ark-ui/solid': minor
4+
'@ark-ui/svelte': minor
5+
'@ark-ui/vue': minor
6+
---
7+
8+
Add new `DateInput` component for typing dates with keyboard input.
9+
10+
```jsx
11+
<DateInput.Root>
12+
<DateInput.Label>Date</DateInput.Label>
13+
<DateInput.Control>
14+
<DateInput.SegmentGroup>
15+
{segments.map((segment) => (
16+
<DateInput.Segment segment={segment} />
17+
))}
18+
</DateInput.SegmentGroup>
19+
</DateInput.Control>
20+
<DateInput.HiddenInput />
21+
</DateInput.Root>
22+
```

0 commit comments

Comments
 (0)