ESLint plugin

The essential plugin for use with the Atlassian Design System.

use-heading-level-in-spotlight-card

The SpotlightCard component in @atlaskit/onboarding will be requiring the headingLevel prop in future releases.

Examples

Incorrect

<SpotlightCard heading="Heading">Spotlight card contents</SpotlightCard>
 ^^^^^^^^^^^^^

Correct

<SpotlightCard heading="Heading" headingLevel={2}>
    Spotlight card contents
</SpotlightCard>
Was this page helpful?
We use this feedback to improve our documentation.
  • Design system
    • Get started
    • Foundations
    • Components
    • Rovo UI
    • Tools
    • Release phases
    • Contact us
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License