Sketch
A Jetpack Compose UI library of components with a hand-drawn, sketch-style appearance.
Install / Use
/learn @EranBoudjnah/SketchREADME
Sketch ✏️
A Jetpack Compose UI library of components with a hand-drawn, sketch-style appearance.
Designed to bring playful, human touches to your Compose UIs while keeping them fully customizable and production-ready.
https://github.com/user-attachments/assets/56c42ec7-4ed5-45e5-89ec-19d6a91edee9
Table of Contents
Key features
| Feature | Description | |------------------------------|------------------------------------------------------------------| | ✏️ Sketch look & feel | Adds a hand-drawn, playful aesthetic to your Compose components. | | 🧩 Composable components | Works with all your standard Compose UI code. | | 🎨 Customizable styles | Control stroke width, color, randomness, and more. | | 💡 Lightweight | No dependencies beyond Jetpack Compose. | | 🧱 Modular | Import only what you need. |
Installation
Add Sketch to your Gradle project:
dependencies {
implementation("com.mitteloupe.sketch:sketch:<latest-version>")
}
💡 Replace <latest-version> with the latest release from Releases
Usage
Use Sketch components just like any other Compose UI elements.
@Composable
fun ExampleScreen() {
com.mitteloupe.sketch.Card {
Text(text = "Hello, Sketch!")
Spacer(modifier = Modifier.height(16.dp))
Button(
shape = SketchCapsuleShape(),
onClick = { /* TODO */ }
) {
Text("Click Me!")
}
}
}
Composables
Card— sketchy card containerCheckbox— checkbox with an sketched boxCircularProgressIndicator,LinearProgressIndicator— range of sketchy progress indicatorsHorizontalDivider,VerticalDivider— sketched dividersRadioButton— a sketched radio buttonSketchDialog— dialog with sketchy outlinesSlider,RangeSlider— sliders with sketched tracks and handlesSwitch— sketch-styled switchTextField— input field with sketched underline
Shapes
Useful for turning common composables sketchy.
SketchCapsuleShape— capsule-shaped sketch, with circles on the left and rightSketchCircleShape— sketched circleSketchRectangleShape— plain rectangle with sketchy edgesSketchRoundedCornerShape— sketched round-cornered rectangle
Modifiers
Add a sketchy appearance to any composable.
hachure— hatch pattern background
Customization
Most Sketch composables conform to the Compose standards, and should be intuitive if you're familiar with the common composables.
Contributing
Contributions to this project are welcome! Check out the Contributing Guidelines before submitting a pull request.
Support
Reach out to me via my profile page.
