Dev Design Library

Preview Rail

Codex app-inspired navigation rail with compact ticks that form a hover pyramid and reveal a floating destination preview.

Preview Rail preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/preview-rail
Files
  • components/motion/preview-rail.tsx
  • lib/ease.ts
  • lib/hooks/use-dismiss.ts
  • lib/hooks/use-hover-gesture.ts
  • lib/hooks/use-tap-gesture.ts
  • lib/i18n.tsx
  • lib/utils.ts
  • lib/touch.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI