Skip to content
VenusUI
Get started

Device Reveal

A heading above a tilted screen that straightens as it scrolls into view.

Preview

Installation

npx shadcn@latest add @venusui/features-07

Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.

Files added to your project

Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.

  • @/components/ui/scroll-device.tsxfrom scroll-device
  • @/components/features-07.tsx

Usage

The code behind the preview above.

features-07-demo.tsx

import { Features07 } from "@/components/features-07"

export default function Features07Demo() {
  return <Features07 />
}

API reference

No props. Edit the content directly in the file.

Requirements

  • VenusUI scroll-device (the CLI installs it and motion).

Customization

  • The screen shows a mock dashboard built from divs. Replace it with a screenshot or your real UI.

Accessibility

  • The mock dashboard is aria-hidden; describe your product in the heading and text.

Troubleshooting

Something looks different from the preview.
Blocks use your project’s theme and your own shadcn components, so they follow your styles.
Unknown registry "@venusui"
Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.
No components.json found
Run npx shadcn@latest init in your project first.