Suirwik Components

Semantic UI React Wrapper written in Kotlin

License

License

GroupId

GroupId

io.github.micheljung
ArtifactId

ArtifactId

suirwik
Last Version

Last Version

0.26
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

Suirwik Components
Semantic UI React Wrapper written in Kotlin
Project URL

Project URL

https://github.com/micheljung/suirwik
Source Code Management

Source Code Management

https://github.com/micheljung/suirwik

Download suirwik

Dependencies

runtime (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-js jar 1.4.20
org.jetbrains » kotlin-react jar 17.0.0-pre.129-kotlin-1.4.20
org.jetbrains » kotlin-react-dom jar 17.0.0-pre.129-kotlin-1.4.20

Project Modules

There are no modules declared in this project.

Kotlin JS wrapper for Semantic UI

Kotlin wrapper library to use Semantic UI React in Kotlin JS project.

Inspired by Muirwik and forked from semantic-ui-kotlin-wrapper

This is Proof of Concept. Be careful using it. Feel free to submit tickets or pull requests.

Usage

  • Build

    • by gradle build
    • Add jar file to your project
  • OR use maven

  • Add semantic ui react npm package, usually that means add "semantic-ui-react": "^0.82.1" to package.json

  • Try somthing like

class LoginComponent : RComponent<RProps, RState>() {
    override fun RBuilder.render() {
        Button {
            attrs {
                fluid = true
                color = "teal"
                size = "large"
            }
            +"Login"
        }
    }
}

Versions

Version
0.26