properties
changelog

Vertical Offset

Set positioned element's top and bottom (vertical) side distance or offset from the parent.

Usage:

  • @position y-*;

Reference

shilp.config.js
const shilpConfig = {
	source: "react",

	properties: {
		position: {
			y: {
				property: `
          top: <n><v><i>;
          bottom: <n><v><i>;
        `,
				resolve: "spacing",
				themeKey: "spacing",
				values: {},
			},
		},
	},
};

export default shilpConfig;