Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA padding or margin editor with four scrub fields around a box diagram and a link toggle that edits all sides together, printing the CSS shorthand.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use this when a style panel edits padding, margin, inset or border width on four sides.
Do not use it when the values come from a spacing scale of tokens (offer the tokens as a select).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Required | Description |
|---|---|---|---|
initial | Sides | optional | - |
property | "padding" | "margin" | optional | - |
onChange | (s: Sides) => void | optional | - |
The pattern ships with a Testing Library test (number-scrub-box-spacing.test.tsx) that covers the shorthand forms, independent and linked editing and the bounds.