Simple geometric shape components for creating circular and square UI elements.
import { Circle, Square } from '@styled-system/jsx'
<Circle className={css({ size: '100px', bg: 'fill.accent' })}> Circle Content </Circle> <Square className={css({ size: '100px', bg: 'fill.secondary' })}> Square Content </Square>
Both Circle and Square components accept the following properties:
size
string | number
Additionally, they accept all common layout properties through the className prop or with css function.