Link behavior
Button behavior
Fallback
Behavior
- If href is provided and the URL is external (starts with http:// or https://), renders as an <a> tag with target="_blank" and rel="noreferrer". If the URL is internal, renders as a Next.js <Link> component
- If onClick is provided or type is "submit" or "button", renders as a <button> element
- Otherwise, renders as a <Flex> component (which is a div with additional styling)