Pattern
Named composition slot
Pass optional UI content rather than encoding application-specific behavior in a primitive.
Formal Syntax & Structure
react syntaxreact
footer?: ReactNodeWorking Example
Example Snippetreact
<Card title="Tools" footer={<Button>Open</Button>}>Details</Card>