Integrate calendar with your Jetpack Compose project.
A calendar with a week view that can be expanded to a month view
- Configure jitpack
 - Add the dependency
 
dependencies {
  ...
  implementation 'com.github.mateusz800:Expandable-Compose-Calendar:<latest version>'
  ...
}Add the ExpandableCalendar composable to your code:
ExpandableCalendar(onDayClick = {
    ...
})ExpandableCalendar has an optional parameter named theme. By using this property you can
customize how your calendar will look like.
ExpandableCalendar(theme = calendarDefaultTheme.copy(
    // properties that you want to override
), onDayClick = {...})CalendarTheme data class looks like
data class CalendarTheme(
    val backgroundColor: Color,
    val headerBackgroundColor: Color,
    val dayBackgroundColor: Color,
    val selectedDayBackgroundColor: Color,
    val dayValueTextColor: Color,
    val selectedDayValueTextColor: Color,
    val headerTextColor: Color,
    val weekDaysTextColor: Color,
    val dayShape: Shape
)Contributions are always welcome!
Give a ⭐️ if this project helped you!
