drip
drip vendors Lustre UI elements (Gleam, CSS, and sometimes a little FFI)
straight into your project’s src/. Run it from the root of a Gleam +
Lustre project with gleam run -m drip -- <command>.
Commands
| Command | What it does |
|---|---|
init | Scaffolds theme.css, the generated index.css, and wires up your entry stylesheet. |
list | Lists the elements in the registry, marking which are already vendored. |
add <element>... | Vendors one or more elements and their dependencies into src/<prefix>/. |
remove <element>... | Deletes the named elements’ files. |
Flags
| Flag | Commands | Description |
|---|---|---|
--prefix <dir> | init | Directory under src/ that elements vendor into, saved to [tools.drip] in your gleam.toml (default: ui). |
--source <url-or-path> | init | Registry to vendor from, a URL or local path, saved to [tools.drip] in your gleam.toml (default: the latest GitHub release). |
--force | init, add | Overwrite files that already exist on disk. |
Pass --help to any command to see its usage. The full element catalog,
configuration reference, and live examples live at https://drip.pink.