lotusui
A Go design system for desktop and mobile — one codebase, native apps. Web when you want it.
GitHub

Textarea

The multi-line Input: same chrome, wrapping editor, minimum rows.

Mechanisms mirror Input — Error for danger chrome, Disabled for read-only, the shared sizes, Field for structure.

Installation

Use the module import (the default), or own the source: lotusui add vendors the component into your app and lotusui update keeps the copy mergeable — see Registry.

Go
go get github.com/ikaito-com/lotusui

# or vendor the source into your app:
go run github.com/ikaito-com/lotusui/cmd/lotusui add textarea

Usage

open demo ↗

Invalid — with a Field label

open demo ↗

Disabled

open demo ↗

With button

open demo ↗

API

OptionTypeDescription
SizeSizeThe shared size presets (Size2XS–Size2XL).
VariantInputVariantInputOutline (default), InputSubtle, InputFlushed.
RowsintMinimum visible lines; zero means 3.
ErrorstringDanger chrome + message.
DisabledboolRead-only, dimmed.

lotusui is a Go design system for native desktop and mobile — and the web when you want it. Docs demos are the real components (WebAssembly) — one gallery app, each Preview an iframe addressed by URL hash.