← All Components

ChipInput

Form Inputs

Rich text input with inline chip/tag creation via trigger character.

Live Demo

Type @ to trigger chip suggestions. Try typing "@a" below.

Value: Hello @world

Usage

<script>
  import { ChipInput } from "jatui"
</script>

<ChipInput />

Props

PropTypeDefaultDescription
valuestring""Text value (bindable)
placeholderstring""Input placeholder
triggerCharstring-Character that triggers chip suggestions (e.g. @)
compactbooleanfalseCompact single-line mode
rowsnumber3Visible rows
disabledbooleanfalseDisable input