API and Development
Circle centers children in a round FlexBox with BorderRadius.Full. size sets width and square aspect ratio. CircleColor maps to semantic and accent backgrounds. Pass onClick (or hover handlers) to wrap with Interactable and optional interactionType / disabled.
Name | Type | Default | Description |
|---|---|---|---|
|
| — | Additional CSS class name(s) to apply to the box element. |
|
|
| Background color variant for the circle. |
|
|
| When true, disables interaction on the circle. |
|
|
| Visual style variant when the circle is interactive. |
|
| — | Outer spacing around the box. Accepts a spacing token. |
|
| — | Click handler that makes the circle interactive. |
|
| — | Mouse enter handler for hover interactions. |
|
| — | Mouse leave handler for hover interactions. |
|
| — | Inner spacing within the box. Accepts a spacing token. |
|
| — | CSS width of the circle. Also sets |
Interactive examples and edge cases for this component are in Storybook.