Good morning!
The Pen Tool is live in Paper
Draw shapes, generate SVGs, or vectorize images, and edit the points and paths.
Paper uses real SVGs so exports are 1:1, no surprises.
The new SVG workflow: create β refine β ship.
Try it out! And show us what you draw.
@msllrs@raunofreiberg It's two buttons. A toggle for "Yes" and a menu trigger. Using a pseudo element for the highlight. `background` and `mask` to create a border gradient
@jamesqquick Up to you! It's a more verbose API that shines when want morphing, or when you're rendering the same component many times in tables/lists.
So it's an optional API for Popover, Menu, PreviewCard, Dialog, Tooltip etc.
https://t.co/6RwIMR3uaO
@edgarasben It allows you to reuse a single popup across many triggers, which has many benefits (performance etc.). But one benefit is you can morph the popup from one trigger to the next, like in the video.
@chandra_7852@base_ui `asChild` looks like a boolean prop and can be a footgun. I've seen it omitted many times, leading to nested buttons.
`render` prop supports a function for improved perf and more control over spreading props.
https://t.co/nus3DBEx8c