Skip to content
navy

Textarea

Multi-line text input component with label support.

Live Demo

<orio-textarea
  v-model="message"
  label="Message"
  placeholder="Enter your message"
/>
Bio length: 0 characters
Message preview: This is a default message. You can edit me!

Usage

vue
<template>
  <orio-textarea
    v-model="description"
    label="Description"
    placeholder="Enter description..."
  />
</template>

<script setup>
const description = ref('')
</script>

Props

PropTypeDefaultDescription
modelValuestring-Textarea value (v-model)
labelstringundefinedLabel text displayed above textarea
placeholderstringundefinedPlaceholder text

All standard HTML textarea attributes are supported via v-bind="$attrs".

Events

EventPayloadDescription
update:modelValuestringEmitted when textarea value changes