Interactive

Foundational utility for constructing interactive elements.

Import

import { Interactive } from '@vortex-kit/vortex';
import type { InteractiveProps } from '@vortex-kit/vortex';

Display

<Interactive href="/">{children}</Interactive>

Allied components

Interactive

Prop
Type
Default
children
React.ReactNode
onClick
function
href
string
type
union
button
disabled
boolean
fullWidth
boolean
insetFocus
boolean
disableFocusRing
boolean
borderRadius
union
stopPropagation
boolean
as
keyof React.JSX.IntrinsicElements
className
union
attributes
object
Interactive Utility Props — Vortex Design System