Skip to content

Textarea Property

The textarea property is for multi-line strings, perfect for longer content like descriptions, messages, or paragraphs.

Description

Optional Parameters

placeholder

Use the placeholder option to show some hint text in the input field when it's empty.

Catalog.register('Sample', {
  component: Sample,
  props: {
    description: {
      label: 'Description',
      type: 'textarea',
      placeholder: 'Type something...',
    },
  },
});