bit Bheadless

DataInteractive

A wrapper that forwards data-hover, data-active, and data-focus attributes to its child element for consistent interactive state styling — without relying on CSS pseudo-classes.

Implementation: CSS Tailwind

Basic Usage

Wrap any element to get data-hover, data-active, and data-focus attributes applied automatically. Style with CSS attribute selectors.

Link Wrapper

Use As="a" to wrap a link element. The data attributes let you style hover/focus/active states consistently across all interactive elements.

Render Context

Access the interactive state via the render context to conditionally render content or apply classes based on hover, focus, and active states.

Disabled State

When Disabled="true", all interactive state tracking is suppressed and data-disabled is emitted instead.

Card Grid

Build interactive cards that respond to hover, focus, and press. The data attributes give you full control over each state's visual treatment.

Analytics
View your dashboard metrics
Reports
Generate monthly reports
Settings
Configure your workspace

State Inspector

A live view of the data attributes being applied. Interact with the element and watch the state indicators update in real time.

An unhandled error has occurred. Reload 🗙