The <Indent> component adds left indentation to create a subtle visual aid that helps maintain readability for blockquotes and long API pages with multiple levels of nested parameters.
Unlike the <Folder> component which only accepts <File> and <Folder> children, <Indent> works with all other components, including accordions, parameter fields, code blocks, and text.
This text is not indented.
This text is indented.
This text is not indented again.
Combine <Indent> with other components like accordions and parameter fields to organize complex hierarchical structures.
Unique identifier for the user
User’s email address
User’s display name
Nest <Indent> components multiple levels deep to show complex API parameter hierarchies. Each level adds another layer of indentation.
Application configuration object
Database connection settings
Database server hostname
Authentication credentials
Database username
Database password
Cache configuration
Time to live in seconds
The content to be indented. Can include any React elements, components, text, or markdown.
Optional CSS class name for custom styling. The component includes a fern-indent class by default for targeting with custom styles.