00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
:
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

Styled quick start

Copy this entrypoint first. It includes the imports required to get the component on screen.

svelte
<script lang="ts">
  import '@dryui/ui/themes/default.css';
  import '@dryui/ui/themes/dark.css';
  import { DateTimeInput } from '@dryui/ui';
</script>

<DateTimeInput bind:value={appointmentDate} name="appointment" />

Import options

Root package

ts
import { DateTimeInput } from '@dryui/ui'

Per-component subpath

ts
import { DateTimeInput } from '@dryui/ui/date-time-input'

API

Props, CSS variables, and the public data attributes you can target when styling.

Prop Type Description Default Required Bindable
size
smmdlg
Size preset affecting density, spacing, or typography. 'md'
value
Date
Current controlled or bindable value. $bindable(new Date())
min
Date
Minimum allowed value.
max
Date
Maximum allowed value.
disabled
boolean
Prevents interaction and applies disabled styling. false
locale
string
'en-US'
name
string
Field name used during native form submission.