Search

Search the site

All components

Tactile Button

Tactile button that lifts on hover and depresses on click.

Default
Default lift effect - rises on hover
1
Press
Press effect - raised at rest, depresses only on click
1
Examples
Examples of the tactile button
1

Installation & source

Install via the shadcn CLI or copy the registry files manually.

bash
npx shadcn@latest add @tt-ui/tactile-button

Props

NameTypeDefaultDescription
childrenReact.ReactNodeRequiredThe content of the button
effect"lift" | "press""lift"Hover interaction: lift rises on hover; press stays raised until click depresses it
classNamestringThe class name of the button