Skip to content

Jetpack Compose receipt UI library for building clean, customizable, and production-ready billing layouts with ease.

License

Notifications You must be signed in to change notification settings

Ali0092/ComposeReceipt

Repository files navigation

ComposeReceipt - Receipt UI Library

A beautiful and flexible Jetpack Compose library for creating receipt-style UI components with multiple shape variations, customizable styling, and shadow effects.

Screenshots

Screenshot 2026-02-06 at 4 57 08 PM Screenshot 2026-02-06 at 4 57 22 PM Screenshot 2026-02-06 at 5 00 15 PM

Features

  • Multiple receipt component styles (rounded, inward curved, flat, zigzag)
  • Customizable colors, shadows, and elevations
  • Pre-built data models for easy integration
  • Scalloped footer shapes
  • Dashed divider lines
  • Support for custom content layouts
  • Material 3 compatible

Installation

Add the JitPack repository to your root settings.gradle.kts:

dependencyResolutionManagement {
    repositories {
        google()
        mavenCentral()
        maven { url = uri("https://jitpack.io") }
    }
}

Add the dependency to your app's build.gradle.kts:

dependencies {
    implementation("com.github.Ali0092:ComposeReceipt:1.0.2")
}

Minimum Requirements:

  • Min SDK: 26 (Android 8.0+)
  • Jetpack Compose
  • Kotlin

Components

  • Receipt: Complete receipt UI composable
  • TicketShape: Custom shape with configurable top edge (Flat, Rounded, Inward)
  • ReceiptFooter: Custom shape with scalloped bottom edge
  • DashedLine: Dashed separator line composable
  • ReceiptUITheme: Optional theme for consistent styling

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2026 Ali0092

About

Jetpack Compose receipt UI library for building clean, customizable, and production-ready billing layouts with ease.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages