Agent instructions, skills, SSH host aliases and expansion triggers are worth having identical on every machine one person owns, and belong in none of the shared configuration. They live in user/ now, with a manifest saying where each piece goes and a link-user stage that puts it there. That stage does nothing unless the machine said yes. Somebody who clones Panama to try the desktop keeps their own ~/.claude/CLAUDE.md exactly where it was; the question names the destinations and defaults to no. Anything displaced goes to config/old rather than being deleted. ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md were byte-identical copies of one file, which is the drift this exists to prevent. Also adds the vitals toggles for the battery and Claude usage readouts, which had preferences and no way to reach them.
895 B
895 B
name, description
| name | description |
|---|---|
| draggable-elements | Move, resize, and rotate elements by dragging during presentation |
Draggable Elements
Move, resize, and rotate elements by dragging during presentation.
Directive Usage
With Frontmatter Position
---
dragPos:
square: Left,Top,Width,Height,Rotate
---
<img v-drag="'square'" src="https://sli.dev/logo.png">
Inline Position
<img v-drag="[Left,Top,Width,Height,Rotate]" src="https://sli.dev/logo.png">
Component Usage
---
dragPos:
foo: Left,Top,Width,Height,Rotate
---
<v-drag pos="foo" text-3xl>
Draggable content
</v-drag>
Draggable Arrow
<v-drag-arrow />
Controls
- Double-click: Start dragging
- Arrow keys: Move element
- Shift + drag: Preserve aspect ratio
- Click outside: Stop dragging
Auto Height
Set Height to NaN or _ for auto height based on content.