Pallas UI
DocsComponents
Core Concepts
    • Introduction
    • Getting Started
    • Theming
    • Color Tokens
    • Spacing & Sizing
    • Layout Guide
    • AspectRatio
    • Box
    • Flex
    • Grid
    • Shapes
Previews
    • Accordion
    • Alert
    • Avatar
    • Badge
    • Breadcrumb
    • Button
    • Carousel
    • Checkbox
    • Combobox
    • Command
    • Date Picker
    • Form
    • Input
    • Input OTP
    • Label
    • MenuBar
    • Modal
    • Popover
    • Progress
    • Radio Group
    • Segmented
    • Select
    • Separator
    • Sheet
    • Sidebar
    • Skeleton
    • Slider
    • Spinner
    • Steps
    • Switch
    • Tabs
    • Textarea
    • Toast
    • Tooltip
    • Typography
  1. Layout
  2. Shapes

Shapes

Simple geometric shape components for creating circular and square UI elements.

Circle
Square

Usage

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>

Properties

Both Circle and Square components accept the following properties:

NameTypeDefaultDescription
sizestring | number-Sets both width and height to the same value

Additionally, they accept all common layout properties through the className prop or with css function.

Built with ❤️ by the carbonteq team. The source code is available on GitHub.

© 2025 Pallas UI. All rights reserved.