Inputs

TextInput

ContentEditable multi-line input with command placeholders.

Basic
Message
Type your message…
Supports multi-line text
With commands
Custom format
Now playing: {track}
Insert placeholders with the keyboard button
With error
Required
Required field
This field is required
Usage
import { TextInput } from '@pulsesync/uikit'

<TextInput
  name="msg"
  label="Message"
  value={value}
  onChange={setValue}
  showCommandsButton
  commands={[{ key: '{track}', label: 'Track' }]}
/>