Skip to content
Discussion options

You must be logged in to vote

Thank you for reporting this inconsistency! You were absolutely correct - there was a mismatch between the documentation and the example code.

I've now fixed all the examples across all frameworks (React, Solid, Vue, and Svelte) to use the inline prop as documented. The examples now correctly demonstrate:

  <DatePicker.Root inline>
    <DatePicker.Input />
    {/* Views without Portal, Positioner, or Content */}
  </DatePicker.Root>

The key difference between inline and open is:

  • inline: Explicitly designed for inline display without popup positioning logic
  • open: Controls the open/closed state of a popup date picker

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rururux
Comment options

Answer selected by segunadebayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants