Compound Components
For larger, more complex components, you may end up wanting to create a set of composable components that work together: “Compound Components”
e.g. <Accordion.Subcomponent />
instead of <Accordion />
cva
encourages you to build these compound components with the power of CSS; leverage the cascade, custom properties, :has()
selectors, and more…