@blueprintjs/core
Version:
Core styles & components
30 lines (19 loc) • 826 B
Markdown
tag: new
@# Section
The **Section** component can be used to contain, structure, and create hierarchy for information in your UI. It makes use of some concepts from other more atomic Blueprint components:
- The overall appearance looks like a [**Card**](#core/components/card) (with limited `elevation` options)
- Contents may be collapsible like the [**Collapse**](#core/components/collapse) component
@reactExample SectionExample
@## Props interface
@interface SectionProps
@## Section card
Multiple **SectionCard** child components can be added under one **Section**, they will be stacked vertically. This layout can be used to further group information.
```tsx
<Section>
<SectionCard>{/* ... */}</SectionCard>
<SectionCard>{/* ... */}</SectionCard>
</Section>
```
@interface SectionCardProps