Storyblok Raises $80M Series C - Read News

What’s the True Total Price of Enterprise CMS? Find out here.

Skip to main content

Built-in components

NOTE:

This documentation describes a feature in the legacy field plugin API. For the latest field plugin SDK, please refer to the documentation.

You can use Storyblok's built-in components in your custom field type for user input that require access to the management API.

Asset selector

This proxy component let’s the user select an image and sets the image url to an attribute of your custom field-type. The field attribute needs to be the key of your model attribute. Following an example:

<sb-asset-selector :uid="uid" field="your_model_attribute">
</sb-asset-selector>

Important: your_model_attribute needs to be a property in your model that you pass in the initWith method.