# Starlight Components Reference This site now supports all Starlight components! Here's how to use them in your .mdx files: ## Import Components Add this to the top of any .mdx file to use components: ```jsx import { Card, CardGrid, LinkCard, Aside, Badge, Steps, Tabs, TabItem, Code, Icon } from '@astrojs/starlight/components'; ``` ## Component Examples ### Cards & CardGrid ```jsx Content here More content ``` ### LinkCard ```jsx ``` ### Asides (Callouts) ```jsx ``` ### Steps ```jsx 1. First step 2. Second step 3. Third step ``` ### Tabs ```jsx Content for tab 1 Content for tab 2 ``` ### Code ```jsx ``` ### Badge ```jsx ``` ## Usage Tips - All content files are now .mdx format (was .md) - Import components at the top of each file where you want to use them - Components enhance readability and user experience - Use Cards for feature highlights - Use Asides for important callouts - Use Tabs for before/after examples - Use Steps for tutorials and processes See the homepage and first tutorial for implementation examples!