Polymorphism
cva
components are polymorphic (and framework-agnostic) by default; just apply the class to your preferred HTML element…
Alternative Approaches
React
If you’d prefer to use a React-based API, cva
strongly recommends using @radix-ui
’s Slot
component to create your own asChild
prop.