Content
Import from @falcon/ui-kit/dist/legacy, not @falcon/ui-kit.
Content provides a vertical page content container with consistent padding and spacing between content sections.
Example
Section titled “Example”Code
<div style={{ margin: "0 auto", width: "fit-content" }}> <Content> <Content.Section>{"<Content.Section />"}</Content.Section> <Content.Section>{"<Content.Section />"}</Content.Section> <Content.Section>{"<Content.Section />"}</Content.Section> </Content></div>Content
Section titled “Content”| Name | Type/Description |
|---|---|
className | string | undefined |
ContentContainer
Section titled “ContentContainer”| Name | Type/Description |
|---|---|
className | string | undefined |
ContentSection
Section titled “ContentSection”| Name | Type/Description |
|---|---|
className | string | undefined |