# Pressable Feedback
**Category**: react
**URL**: https://ui.darkcode.dev/en/docs/react/components/pressable-feedback
**Source**: https://raw.githubusercontent.com/DarkCode-Developers/darkcode-ui/refs/heads/main/apps/docs/content/docs/en/react/components/(feedback)/pressable-feedback.mdx
> A press interaction layer adding ripple, highlight, hold-to-confirm, and progress feedback effects to any element
***
## Import
```tsx
import { PressableFeedback } from '@darkcode-ui/react';
```
## Anatomy
Import the PressableFeedback component and access all parts using dot notation. The root
renders a `button` by default and exposes hover / press / focus state through data attributes,
so the feedback layers can compose freely on top of any content.
```tsx
```
### Usage
```tsx
import {PressableFeedback} from "@darkcode-ui/react";
export function PressableFeedbackDefault() {
return (
Press me
);
}
```
### Comparison
```tsx
import {PressableFeedback} from "@darkcode-ui/react";
const surface =
"relative flex min-w-36 items-center justify-center gap-2 rounded-2xl border border-border bg-surface px-6 py-4 text-sm font-medium text-foreground";
export function PressableFeedbackComparison() {
return (