Skip to content

Text Property

A text property is a plain string, used for titles, labels, names, or any short bit of text.

Title

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: {
    title: {
      label: 'Title',
      type: 'text',
      placeholder: 'Type something...',
    },
  },
});