Velox ThemesVelox Themes
BETA
Velox ThemesVelox ThemesBETA
Loading library
Loading skill details
Crosshair Skeleton Skill — Velox Themes
Loading skill details
Loading skill details
  1. Skills
  2. /
  3. Crosshair Skeleton
Free

Crosshair Skeleton

Your AI adds an effect that looks like the page is being measured. Crosshair corners lock on, a grid maps the area, cursors mark each element and leave a skeleton block, then the real content comes back piece by piece. Use it on one key visual per section, like a hero image or a bento card, or while a slow part of a page loads. One small file, no dependencies, light and dark themes.

Installation

Installs it for Claude Code, Codex, Cursor and the other AI tools it finds on your computer. Needs Node.js.

Terminal
$ npx skills add velox-themes/crosshair-skeleton -g
Source on GitHub

How it works

  • Crosshair corners lock onto the element.
  • A grid maps the space inside it.
  • Cursors mark each element and leave a skeleton block.
  • The real content comes back piece by piece.

When to use it

Use it for

  • One key visual in a landing page section: a hero image, a product screenshot or an image block.
  • The one bento card you want people to notice.
  • A chart or stats card that backs up what the section says.
  • One part of an app that waits on slow data, like a card, a chart or a panel.

Don’t use it for

  • Every element in a section, or every section on a page. Keep it to one per section and three per page.
  • Busy sections with lots of parts, like long lists, pricing tables or logo walls.
  • Headlines, text, buttons and menus. People need to read these right away.
  • The biggest image or headline at the top of the page. Hiding it makes the page look slower to load.
  • Things that already move, like carousels and videos, and small things like icons and badges.

Features

Skeleton blocks for a headline, a bar chart, a line chart and an article, with selection handles and size labels on the small footer labels
Drawing: cursors select each element
The same headline, stats card, line chart and article as dark skeleton blocks on a faint grid, with crosshair corners and size readouts
Waiting, in dark mode
  • Made to highlight. Use it to draw the eye to one thing: a hero image, a product screenshot or the bento card you want noticed. On a landing page it plays once when that part scrolls into view, then shows it. Keep it to one per section and three per page.
  • Draws your real layout. It reads what is inside the element: one bar for each line of text at its real width, and buttons, chips, images, charts and inputs as blocks in their own shape and corner radius.
  • Tables, lists and charts in one go. Table rows, list items, cards of one kind and chart bars are handled as groups, all at once instead of one by one.
  • Any element, any framework. Cards, charts, tables, forms, text, images, lists, video and code. It works in plain JavaScript and in React, Next.js, Vue, Nuxt, Svelte and more. No CSS file, fonts or images to add.
  • Light and dark. Every colour comes from the element’s own text colour and the background behind it, so it matches your theme with no setup, even if the theme changes while it waits.
  • Easy on the CPU. The long wait runs without JavaScript, skeletons off screen wait until you scroll to them, and only what is on screen moves.
  • Never in the way. Loads faster than 150 ms show nothing, and a skeleton that does show never flashes. Screen readers hear that the area is loading, people who prefer less motion get a still version, and nothing is left on the page afterwards.
  • Made for your AI. It comes with a guide for your AI tool: the steps to add it, mistakes to avoid and a checklist to test it in the browser.

How it reads your layout

It draws whatever is inside the element when loading starts. Show your real component with placeholder data at its final size, and the skeleton copies its exact structure.

Each line of text becomes a bar at its real width. Buttons, chips, images, charts and inputs become blocks with their own shape and rounded corners. Rows, list items and chart bars are drawn together as groups.

When the data arrives, it measures again, so the real content always lands exactly where the skeleton was. An empty box still gets its frame, grid and corners.

Speed

Tested in Chrome, Firefox and Safari at phone, tablet and desktop sizes with up to nine skeletons at once, with no dropped frames in Chrome and Firefox. A skeleton over 3,000 rows hands back the page in one short step.

Works with

  • React
  • Next.js
  • Vue
  • Nuxt
  • Svelte
  • SvelteKit
  • Plain JavaScript

What’s included

  • SKILL.md
  • AGENT-GUIDE.md
  • crosshair-skeleton.js
  • React, Vue and Svelte adapters
  • Demo page

License

MIT, free and open source.