Feature component provides a simple, flexible way to showcase features with a consistent header design. It renders a header with an icon, title, and subtitle, then displays whatever children you provide.
Basic Usage
The component accepts a header configuration and renders any children below it.Properties
Icon name for the feature header (e.g., “pocket-knife”, “rocket”). Uses Mintlify’s Icon component. Optional.
Any React content to display below the header. This gives you complete flexibility in how you structure your feature content.
Using with Cards
The Feature component works great with Mintlify’s Card components for creating highlight grids.Advanced Example
Create complex layouts by composing the Feature component with any Mintlify components.Best Practices
Use Consistent Icons
Use Consistent Icons
Use icons from a single library and style to maintain visual consistency across your features.
Keep Titles Concise
Keep Titles Concise
Feature titles should be short and memorable - ideally 1-3 words that quickly communicate the value.
Compose with Cards
Compose with Cards
Leverage Mintlify’s Card and CardGroup components within Feature children for professional layouts.
Structure Your Content
Structure Your Content
Start with a brief introduction paragraph, then present details using cards, lists, or other structured content.
Styling
The Feature component uses minimal, semantic CSS classes:.feature-article- Main container with dark background.feature-header- Header section wrapper.feature-title- Title with icon.feature-subtitle- Subtitle text.feature-content- Content wrapper for children
docs/style.css.
Troubleshooting
Component not found
Component not found
Ensure the Feature.jsx file exists in
docs/snippets/tsdocs/ and your import path is correct: /snippets/tsdocs/Feature.jsxStyling looks wrong
Styling looks wrong
The Feature component relies on
tsdocs-styles.css. Verify:- The CSS file is properly imported in your Mintlify configuration
- Custom styles in
docs/style.cssaren’t overriding defaults unintentionally
Cards not displaying in grid
Cards not displaying in grid
Make sure you’re using Mintlify’s CardGroup component to wrap your Card components, and set the
cols prop to control the grid layout.Related Components
Card
Build highlight cards within your features.
CardGroup
Create responsive grids for your cards.
Preview
Showcase live component examples.

