Framer
Solutions
Platform
Community
Resources
Enterprise
Pricing
Log in
Sign up
Copy logo SVG
Brand guidelines
Search...
Get Started
Overview
Compare
FAQ
Plugins
Introduction
Quick Start
Publishing
Changelog
Reference
Guides
Server API
Fetch
Examples
Components
Asset Sharing
Auto-Sizing
Property Controls
Overrides
Developers
Search
WithBorderTrait
border
Border properties including width, color, and style.
(T extends TraitVariantData ? Marshaled<Border> : Border) | null
Styles: "solid", "dashed", "dotted", "double". Width can be per-side (e.g. "1px 2px 3px 4px"). Setting to null removes the border. Supported by FrameNode.
"solid"
"dashed"
"dotted"
"double"
"1px 2px 3px 4px"
null
WithGridItemTrait