FormanceCustom component built for Formance products.
Installation#
Install the following dependencies:
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage#
Compound Components
Compose the pieces you need:
<Item />Root container with variant (default, outline, muted) and size.<ItemMedia />Leading slot for icons or images (default, icon, image variants).<ItemContent />Flex column for title and description.<ItemTitle />Primary text label.<ItemDescription />Secondary muted text, line-clamped to 2 lines.<ItemActions />Trailing slot for action buttons.<ItemHeader />Full-width row above the item body.<ItemFooter />Full-width row below the item body.<ItemGroup />Vertical list container for multiple items.<ItemSeparator />Horizontal separator between items.