Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

GlyphInspector

Inspect animated letter outlines with a gliding frame, floating square particles, measurement guides and a live readout.

AnimationsText@gaudi/design-system/animations/GlyphInspectorView in StorybookSource

Hover to take control; drag and release a letter to return it to its slot.

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import { GlyphInspector } from '@gaudi/design-system/animations/GlyphInspector';

Usage

import { GlyphInspector } from '@gaudi/design-system/animations/GlyphInspector';
<GlyphInspector text="Gaudi" paused activeIndex={2} />

Examples

Playground

Storybook

Pointer exploration

Storybook

Area reveal

Storybook

Paused at an index

Storybook

API

15 props

Accessibility

The complete text is exposed once; decorative letters are hidden from assistive technology. Hover and drag do not change the text. Reduced motion removes animated inspection and dragging; an explicitly paused inspector remains visible without motion. Provide a pause control for continuous autoplay.

Notes

  • Visual idea inspired by Tech Text from React Bits (MIT + Commons Clause). Independently implemented for Gaudi; no React Bits code or assets are included.
  • Typography is inherited and shrinks to fit the available width. The component reserves space for its particles, readout and bounded drag movement.