Expandable Compose Calendar Save

A Jetpack Compose library for rendering expandable calendar component

Project README

Expandable Compose Calendar

Expandable Compose Calendar

Integrate calendar with your Jetpack Compose project.

Expandable-Compose-Calendar

Java CI with Gradle

Introduction

A calendar with a week view that can be expanded to a month view

Setup

  1. Configure jitpack
  2. Add the dependency
dependencies {
  ...
  implementation 'com.github.mateusz800:Expandable-Compose-Calendar:<latest version>'
  ...
}

Usage

Add the ExpandableCalendar composable to your code:

ExpandableCalendar(onDayClick = {
    ...
})

Customization

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
)

Support project

Contributing

Contributions are always welcome!

Show your support

ko-fi

Give a ⭐️ if this project helped you!

Open Source Agenda is not affiliated with "Expandable Compose Calendar" Project. README Source: mateusz800/Expandable-Compose-Calendar

Open Source Agenda Badge

Open Source Agenda Rating