```ts import Textarea from "~/components/ui/Textarea.vue" ``` # Textarea Textareas are input blocks that enable users to write formatted text (format: Markdown). These blocks are used throughout the Funkwhale interface for entering item descriptions, moderation notes, and custom notifications. ::: details Props ```ts const { charLimit = 5000, placeholder = "", minLines = 3, ...props } = defineProps<{ label?: string; placeholder?: string; charLimit?: number; minLines?: number | string; autofocus?: true; required?: true; }>(); ``` ::: Create a textarea and attach its input to a value using a `v-model` of type `string` (required): ```ts const text = ref("# Funk\nwhale"); ``` ```vue-html{2} ``` If you just have a string, we have a convenience prop, so instead you can write: ```vue-html ```