---
title: "Discussion on \"Buttons in Jetpack Compose\" | Hashnode"
description: "Discussion on \"Buttons in Jetpack Compose\". In Jetpack Compose buttons, you need to give two arguments for buttons. The first argument as onClick callback and another one is your button text element. You can add a Text-Composable or any other Composable as child elements of the Button\n\n\nclass ..."
url: "https://hashnode.com/posts/buttons-in-jetpack-compose/651f9f13c2e7aaf78fb3f66b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Buttons in Jetpack Compose](https://oybeksblog.hashnode.dev/buttons-in-jetpack-compose?utm_source=hashnode&utm_medium=feed)

In Jetpack Compose buttons, you need to give two arguments for buttons. The first argument as onClick callback and another one is your button text element. You can add a Text-Composable or any other Composable as child elements of the Button class ...

Oct 6, 2023 · 2 min read · oybeksblog.hashnode.dev  
Read the article

-   [#jetpack-compose](https://hashnode.com/tag/jetpack-compose)
-   [#compose-multiplatform](https://hashnode.com/tag/compose-multiplatform)
-   [#android](https://hashnode.com/tag/android)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#jetpack-compose-layouts-and-modifiers](https://hashnode.com/tag/jetpack-compose-layouts-and-modifiers)

## Written by

[Oybek Kholiqov](https://hashnode.com/@oybek9978)

@oybek9978 · South Korea , Seoul

  
[View profile](https://hashnode.com/@oybek9978)

I will wanna share my knowledge

I am Android Developer from Uzbekistan

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
