Skip to content

Date of birth picker

Day, month and year wheels for a date of birth.

Date of birth picker Date of birth picker

var birthday by remember {
    mutableStateOf(
        value = LocalDate(
            year = 1990,
            month = 3,
            day = 14,
        ),
    )
}
JengaDateOfBirthPicker(
    value = birthday,
    onValueChange = { birthday = it },
    monthLabel = {
        it.name.lowercase().replaceFirstChar(
            transform = Char::uppercase,
        )
    },
)