https://github.com/mooncloak/bulmak
kotlinx.html Bulma components
https://github.com/mooncloak/bulmak
bulma bulma-css css html kotlin kotlin-mul kotlinx-html
Last synced: 4 months ago
JSON representation
kotlinx.html Bulma components
- Host: GitHub
- URL: https://github.com/mooncloak/bulmak
- Owner: mooncloak
- License: apache-2.0
- Created: 2025-02-27T15:52:30.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T20:56:15.000Z (4 months ago)
- Last Synced: 2025-02-27T23:23:07.904Z (4 months ago)
- Topics: bulma, bulma-css, css, html, kotlin, kotlin-mul, kotlinx-html
- Language: Kotlin
- Homepage:
- Size: 169 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# bulmak
kotlinx.html Bulma components.
## Status ⚠️
> [!Warning]
> This project is being actively developed but is in an early experimental state. Use the library
> cautiously and report back any issues. mooncloak is not responsible for any issues faced when
> using
> the library.## Getting Started 🏁
Checkout the [releases page](https://github.com/mooncloak/bulmak/releases) to get the latest version.
### Repository
```kotlin
repositories {
maven("https://repo.repsy.io/mvn/mooncloak/public")
}
```### Dependencies
```kotlin
// kotlinx.html required
// https://github.com/Kotlin/kotlinx.html
implementation("org.jetbrains.kotlinx:kotlinx-html:VERSION")// kotlinx html Bulma wrapper
implementation("com.mooncloak.kodetools.bulmak:bulmak-core:VERSION")
```## Usage 👨💻
```kotlin
import com.mooncloak.kodetools.bulmak.layout.hero
import kotlinx.html.body
import kotlinx.html.html
import kotlinx.html.p
import kotlinx.html.stream.appendHTMLprivate fun main() {
// Example using Bulma's "Hero" component in the body of an HTML document.
// https://bulma.io/documentation/layout/hero/
System.out.appendHTML().html {
body {
hero {
body {
p("title") { +"Hero Title" }
p("subtitle") { +"Hero Subtitle" }
}
}
}
}
}
```## Documentation 📃
More detailed documentation is available in the [docs](docs/) folder. The entry point to the
documentation can be
found [here](docs/index.md).## Security 🛡️
For security vulnerabilities, concerns, or issues, please refer to
the [security policy](SECURITY.md) for more
information on appropriate approaches for disclosure.## Contributing ✍️
Outside contributions are welcome for this project. Please follow
the [code of conduct](CODE_OF_CONDUCT.md)
and [coding conventions](CODING_CONVENTIONS.md) when contributing. If contributing code, please add
thorough documents
and tests. Thank you!## License ⚖️
```
Copyright 2025 mooncloakLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```