Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Forms & inputs

Project details

An edit-in-place project page: click the title or summary to change it, then set the client, team, and labels.

bunx --bun @getweini/cli@latest add alert avatar badge card combobox inline-edit multi-select tags-input
Customize
  • There is no save button. Each control emits `update` with the field name and the new value, so your host can save one field at a time. Set `saving` while a request runs and `error` with a message when it fails.
  • The title and summary use InlineEdit inside real `h1` and `p` elements, so they inherit the surrounding type. Enter saves, Escape cancels, and an empty name is rejected by `validate` with an inline message.
  • Clients come from the `clients` prop and feed a Combobox with type-ahead and `keywords`. The team uses MultiSelect with rich rows: set `label` and `text-value` on each option so chips and type-ahead use the plain name.
  • Labels use TagsInput, limited to six. Chips in the team field collapse to “+N” after two; change `max-visible-chips` to show more.
  • All text lives in the `copy` prop, including the message objects the Combobox and MultiSelect need.