
Roughly
Organic, hand-drawn vector annotations designed for high-friction digital typography. Wobbly underlines, pen circles, editorial strikethroughs, curly brackets, and tactile highlights.
Interactive Playground
Editorial Typography Demonstration
Void UI components are designed with tactile physical friction, transforming sterile digital surfaces into visceral instruments. Rather than flattening user interfaces, we introduce deliberate resistance and dynamic spring dynamics.
In traditional software development, designers often rely on bland grey boxes and lifeless borders. With Roughly, you can draw attention to critical insights or mark deprecated features with an organic cross out.
• Zero layout shift on page reloads
• Sized to encompass all tall ascenders and low descenders
• Scroll-triggered hardware-accelerated SVG draw animation
Every annotation is enclosed in a hand-drawn rough frame with natural corner overshoots and fluid double stroke sketch loops.
Direct the reader's gaze with an expressive Direct vector pointing ✨hand-drawn callout arrow that automatically calculates its trajectory, clearance, and entry angle directly onto the target word.
Leave a reviewer's aside with a sticky note calloutpinned right here! that slaps onto the page.
Agent Skill
Let your agent do the annotating.
Install the skill, then ask your agent to annotate any page. It decides what's worth marking, picks the right mark, sizes it to the type, lands every arrow on its target, and checks the result on real screenshots before it's done.
Ship your docs site in an afternoon.
Write in Markdown, get search, versions and dark mode out of the box.
Arrows that land
An arc reaches its tip turned atan(3 × bend) off the straight line. Turned one way, the head points into the target. Turned the other, it lies flat along the edge. The sign that works depends on the placement, so the skill leaves bend unset and the component picks it.
Corners bend ±0.32, sides ±0.2, with the sign mirrored per placement: every head lands within ~15° of dead-on.
- placement
- where the tail comes from
- size · distance · offset
- length and gap to the target
- bend · variant
- the arc (leave bend unset)
- arrowhead
- open or filled
- strokeWidth · iterations · roughness · seed
- the pen
- label · labelFont · labelFontSize
- the handwritten note
- labelPlacement · labelDistance · labelRotate
- where the note sits
- animationDelay · animationDuration
- when it draws
How to Use
Install via Void UI CLI
Add Void UI's Roughly annotations directly into your project via the shadcn CLI. This downloads the source code into components/ui/roughly/ and automatically resolves all peer dependencies.
Import Components
Import the individual annotation subcomponents from your local UI directory for optimal tree-shaking, or use the unified compound <Roughly> component.
Annotate Text & Keywords
Wrap any word, phrase, or inline block. Annotations automatically measure bounding boxes and draw with organic hand-drawn roughness when scrolled into view.
Expressive Callout Arrows
Wrap any CTA button or keyword with <RoughArrow> to anchor an arrow with dynamic curve trajectories and handwritten callout notes.
Handwritten Callout Fonts Setup
To use handwriting script for callouts ("caveat", "reenie-beanie", or "kalam"), load Google Fonts in your root layout:
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| type | RoughlyType | "underline" | "underline" | "circle" | "strike-through" | "cross-off" | "bracket" | "box" | "highlight" | "arrow" | "handwriting" | "check" | "sticky" |
| color | string | Preset by type | Any valid CSS color string (Hex, RGB, HSL) |
| strokeWidth | number | 2 | Thickness of pen strokes in pixels |
| animate | boolean | true | Triggers pen stroke drawing on scroll viewport entry |
| animationDuration | number | 650 | Duration of drawing in milliseconds |
| side / brackets | BracketSide | "left" | "left" | "right" | "both" | "top" | "bottom" (for bracket type) |
| bracketStyle | BracketStyle | "curly" | "curly" ({ }) | "square" ([ ]) |
| variant | string | "single" | "single" | "double" | "wavy" (underline) • "single" | "double" | "triple" (strike) • "single" | "double" (cross & box) |
| iterations | number | 2 | Number of stroke passes (e.g. 2 for double strokes in box, arrow, highlight, and circle) |
| placement | ArrowPlacement | "top-right" | Direction from which the arrow points at the target: "top-left" | "top" | "top-right" | "right" | "bottom-right" | "bottom" | "bottom-left" | "left" |
| arrowSize / size | number | 1 | Overall scale. Length, arrowhead and target gap grow together; use distance / offset for exact pixels |
| arrowBend / bend | number | auto | Signed arc from -1 to 1 (0 = straight). Unset, it picks the sign and depth that land the head on the target for the placement (±0.32 corners, ±0.2 sides). The sign decides whether the head points into the target or skims its edge |
| arrowhead | ArrowheadStyle | "open" | Style of arrow tip: "open" (>) | "filled" (solid triangle) |
| label | ReactNode | undefined | Handwritten callout text displayed at the tail of the arrow |
| labelFont | ArrowLabelFont | "caveat" | Handwriting font family for callout text: "caveat" (default) | "reenie-beanie" | "kalam" |
| labelFontSize | number | 20 | 26 | Font size in pixels for handwritten callout text |
| labelPlacement | ArrowLabelPlacement | "auto" | Placement relative to arrow tail: "auto" | "top" | "bottom" | "left" | "right" |
| labelDistance | number | 8 | Gap distance in pixels between arrow tail and label |
| labelRotate | number | 0 | Custom label rotation angle in degrees |
| labelOffsetX / labelOffsetY | number | 0 | Fine-tuning pixel nudges along X and Y axes |
| labelColor | string | color | Custom color override for the callout text (defaults to arrow color) |
| curveLabel | boolean | true | When true, renders callout text along a smooth mathematical SVG arc with zero misalignment |
| font | HandwritingFont | "reenie-beanie" | Font family for handwriting type: "reenie-beanie" (default) | "caveat" | "kalam" |
| fontSize | number | 40 | Font size in pixels used to generate handwriting glyph paths |
| editable | boolean | false | Enables interactive live-typing mode for handwriting with real-time SVG stroke tracing |
| mark | CheckMark | "check" | Margin tick: "check" (✓) | "cross" (✗) |
| checked | boolean | true | Margin tick: flip to draw or erase the mark, e.g. in a checklist |
| side | CheckSide | "left" | Margin tick: which margin the mark sits in, "left" | "right" |
| note | ReactNode | undefined | Sticky note: the handwritten text on the note |
| placement | StickyPlacement | "top-right" | Sticky note: where the note sits around the target (same 8 directions as the arrow) |
| pin | StickyPin | "tape" | Sticky note: "tape" | "pin" | "none" |
| width / fontSize | number | 150 / 20 | Sticky note: note width and handwritten text size in pixels |
| paper | string | "#FDE68A" | Sticky note: paper color |