Shapes

Loading Ebi…
let marker = <Box w-54 h-54 rounded-full fill="orange3" position={[-135pt, 0pt]} x_align={Align.Center} y_align={Align.Center}/>
let triangle = <Polygon points={[[0pt,-40pt], [43pt,32pt], [-43pt,32pt]]} fill="purple3"/>
let trail = <Polyline position={[130pt,0pt]} points={[[-34pt,22pt], [0pt,-26pt], [34pt,12pt]]} width={6pt} fill="blue2"/>
let guide = <Line position={[0pt, 65pt]} end={[344pt, 0pt]} width={1pt} fill="light5"/>
guide
<Animation>
    {marker.shift([0pt, -38pt], duration=1s)}
    {triangle.rotate_to(180deg, duration=1s)}
    {trail.scale_to(1.2, duration=1s)}
</Animation>
<Animation>
    {marker.shift([0pt, 38pt], duration=1s)}
    {triangle.rotate_to(360deg, duration=1s)}
    {trail.scale_to(1, duration=1s)}
</Animation>

Change the polygon points or the path width. The dot is a square Box with rounded-full.

ElementGive it
BoxWidth, height, and a fill. Add rounded-lg or radius={12pt} to round the corners.
LineAn end={[x, y]} offset and a stroke width.
PolylineAt least two points and a stroke width.
PolygonAt least three points. Ebi closes the outline.

Use colors and gradients for fills and animation methods to move or reveal shapes.

Icons

Use Icon to draw from a bundled icon set. Use fill or gradient utilities to color the artwork, including its strokes. Icons are vector paths and scale with the scene.

<Box w-240 h-100 rounded-xl bg-dark4 flex-row items-center justify-center gap-20
    x_align={Align.Center} y_align={Align.Center}>
    <Icon name="document-open-symbolic" set="adw" w-40 fill="blue2"/>
    <Icon name="mail" set="fluent" variant="filled" w-40 fill="light1"/>
    <Icon name="star" set="material" variant="rounded" w-52 h-40
        bg-linear-to-br from-yellow1 to-orange3/>
</Box>
setArtworkvariant
adw (default)Adwaita and the GNOME Icon Development Kitsymbolic
fluentMicrosoft Fluent UI System Iconsregular (default), filled, light
materialGoogle Material Symbolsoutlined (default), rounded, sharp, outlined-filled, rounded-filled, sharp-filled

Adwaita names accept the optional -symbolic suffix. Fluent and Material use names such as mail, arrow_left, and calendar_month. Availability varies by icon and variant. The API supports path-based artwork, and reports an error for icons that require embedded images or SVG effects.

An icon defaults to its source size. Set width or height to size it proportionally. If both are set, the artwork is centered inside the frame and keeps its aspect ratio. Icons accept the usual element layout and animation properties, including opacity, rotation, and scale. You can also call Icon("search", set = "material", width = 24pt, fill = Color("blue2")).