Replies: 1 comment 1 reply
-
Hey @ss3ds, this should be something you're easily able to implement as needed on your own by modifying the calendar setup and positioning an indicator relative to the day! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello shadcn-svelte Team,
Thanks to every contributor to the great project. I would like to propose an enhancement for the Calendar component, inspired by the MUI Date Picker, particularly the feature seen here: MUI Date Picker - Dynamic Data.
The idea is to introduce an indicator or highlight that can be applied to specific days or cells within the calendar. This would be useful for scenarios where certain dates need to stand out, such as showing event markers, or visually indicating specific selections.
Possible Use Cases:
Suggested Approach:
A prop like highlightDays or indicatorData could be added to the component, accepting an array of dates or a map of dates to their corresponding indicators or just the dates to highlight.
I'm excited to hear your thoughts on this idea!
Beta Was this translation helpful? Give feedback.
All reactions