defmodule PyrauiWeb.DocsLive.DatepickerDocs do use PyrauiWeb, :html def render(assigns) do ~H"""
Polished date and time inputs with leading icons, sizes, and variants.
Capture dates with helpful labels and defaults.
Use time-only or date-time inputs for scheduling.
Switch between soft and outline; choose a comfortable size.
Guide users with min/max, helper text, and validation.
Variants control borders and focus rings; sizes adjust padding and typography.
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | :soft | :outline | :soft | Visual style for the input. |
| size | :sm | :md | :lg | :md | Padding and font-size scale. |
| icon | boolean | true | Toggle calendar leading icon. |