All Projects → ButterCam → compose-jetbrains-theme

ButterCam / compose-jetbrains-theme

Licence: MIT license
JetBrains style UI kit for Compose Desktop.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to compose-jetbrains-theme

JetBox
ReSharper settings synchronization through Dropbox
Stars: ✭ 18 (-66.04%)
Mutual labels:  jetbrains
JetBrainsCopilot
✈️ IDE plugin for the IntelliJ platform which adds GitHub Copilot support. (VERY WIP)
Stars: ✭ 155 (+192.45%)
Mutual labels:  jetbrains
kmp-web-wizard
Wizard for Kotlin Multiplatform
Stars: ✭ 164 (+209.43%)
Mutual labels:  jetbrains
SideMirror
An Android Studio plugin to mirror your android devices with scrcpy directly from Android Studio.
Stars: ✭ 49 (-7.55%)
Mutual labels:  jetbrains
PreCompose
Compose Multiplatform Navigation && ViewModel
Stars: ✭ 150 (+183.02%)
Mutual labels:  compose-desktop
ReactPropTypes-Plugin
A Jetbrains Plugin for react PropTypes
Stars: ✭ 62 (+16.98%)
Mutual labels:  jetbrains
XcodeTheme
 Xcode Light & Dark Theme for JetBrains IDEs (IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, WebStorm, etc)
Stars: ✭ 136 (+156.6%)
Mutual labels:  jetbrains
resharper-presentation-assistant
ReSharper extension to show executing commands and keystrokes
Stars: ✭ 49 (-7.55%)
Mutual labels:  jetbrains
KV4Jetbrains
Syntax highlighting and auto-completion for Kivy/KivyMD .kv files in PyCharm/Intellij IDEA
Stars: ✭ 93 (+75.47%)
Mutual labels:  jetbrains
Tachidesk-JUI
A Tachidesk Client built in Compose Multiplatform
Stars: ✭ 203 (+283.02%)
Mutual labels:  compose-desktop
Jetpack-Compose-Theme-Configurator
Desktop Application to setup/configure your Jetpack Compose Color/Theme Palette
Stars: ✭ 50 (-5.66%)
Mutual labels:  compose-desktop
sqle
SQLE is a SQL audit platform | SQLE 是一个支持多场景,原生支持 MySQL 审核且数据库类型可扩展的 SQL 审核工具
Stars: ✭ 731 (+1279.25%)
Mutual labels:  jetbrains
resharper-devguide
Developer guide for the ReSharper Platform
Stars: ✭ 65 (+22.64%)
Mutual labels:  jetbrains
laravel-tinker
Adds a way to write php and run it directly in Laravels' Artisan Tinker.
Stars: ✭ 123 (+132.08%)
Mutual labels:  jetbrains
intellij-neos
Support for the Neos CMS in Intellij IDEA / PhpStorm
Stars: ✭ 37 (-30.19%)
Mutual labels:  jetbrains
icls-vs-code-dark-plus
Visual Studio Code Dark Plus-like color scheme for PhpStorm and other JetBrains IDEs
Stars: ✭ 24 (-54.72%)
Mutual labels:  jetbrains
utools-recent-projects
uTools 插件, 快速查询最近打开的项目
Stars: ✭ 84 (+58.49%)
Mutual labels:  jetbrains
youtrack-cli
Command Line Tool for interacting with youtrack
Stars: ✭ 14 (-73.58%)
Mutual labels:  jetbrains
JetBrains-scheme
JetBrains主题,更完美的高亮。支持 IntelliJ IDEA、phpstorm、goland、webstorm
Stars: ✭ 25 (-52.83%)
Mutual labels:  jetbrains
mnemonics
Source code for mnemonic template generators for ReSharper and IDEA
Stars: ✭ 69 (+30.19%)
Mutual labels:  jetbrains

JetBrains UI Kit for Compose Desktop

JetBrains style controls and UI for Compose Desktop.

screenshot

Quick Start

1. Add dependency

dependencies {
    implementation(compose.desktop.currentOs) {
        exclude("org.jetbrains.compose.material")
    }
    implementation("com.bybutter.compose:compose-jetbrains-theme")
}

2. JBTheme DSL

fun main() = application {
    Window(
        onCloseRequest = ::exitApplication,
        title = "Compose for Desktop",
        state = rememberWindowState(width = 300.dp, height = 300.dp)
    ) {
        val count = remember { mutableStateOf(0) }

        JBTheme {
            JPanel(Modifier.fillMaxSize().jBorder(top = 1.dp, color = JBTheme.panelColors.border)) {
                Column(Modifier.fillMaxSize(), Arrangement.spacedBy(5.dp)) {
                    Button(modifier = Modifier.align(Alignment.CenterHorizontally),
                        onClick = {
                            count.value++
                        }) {
                        Text(if (count.value == 0) "Hello World" else "Clicked ${count.value}!")
                    }
                    Button(modifier = Modifier.align(Alignment.CenterHorizontally),
                        onClick = {
                            count.value = 0
                        }) {
                        Text("Reset")
                    }
                }
            }
        }
    }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].