diff --git a/docs/src/content/docs/guides/components.mdx b/docs/src/content/docs/guides/components.mdx index 2fcd17c7ee5..8db1a553e13 100644 --- a/docs/src/content/docs/guides/components.mdx +++ b/docs/src/content/docs/guides/components.mdx @@ -58,7 +58,8 @@ These components are available from the `@astrojs/starlight/components` package. import { Tabs, TabItem } from '@astrojs/starlight/components'; You can display a tabbed interface using the `` and `` components. -Each `` must have a `label` to display to users and can optionally include an `icon` attribute set to the name of [one of Starlight’s built-in icons](#all-icons). +Each `` must have a `label` to display to users. +Use the optional `icon` attribute to include one of [Starlight’s built-in icons](#all-icons) next to the label. ```mdx # src/content/docs/example.mdx