Packages

A UI Library for the novdom frontend framework writte in Gleam. Focused on office application and customizability for the end user

Current section

Files

Jump to
cosmos src cosmos.gleam
Raw

src/cosmos.gleam

import novdom/attribute.{tailwind}
import novdom/component.{type Component}
import novdom/html.{div, text}
pub fn hello_world() -> Component {
div([tailwind("p-5 bg-blue-500 text-white")], [text([], "Hello, world!")])
}