import { Canvas, Controls, Meta } from '@storybook/blocks'
import { ResourceLinks, KAIOInstallation, RenameNotice } from '~storybook/components'
import * as LikertScale from './LikertScale.stories'

<Meta of={LikertScale} />

# LikertScale

<ResourceLinks
  sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/LikertScale"
  figma="https://www.figma.com/file/ZRfnoNUXbGZv4eVWLbF4Az/%EF%B8%8F%F0%9F%96%BC%EF%B8%8F-Component-Gallery?node-id=9%3A39905&t=P1w10jr2cpPuaayw-1"
  designGuidelines="https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082060201/Likert+Scale"
/>

<KAIOInstallation exportNames="LikertScale" />

## Overview

Likert scale radio buttons let people select one option in a Likert scale ranging from strongly disagree to strongly agree.

<Canvas of={LikertScale.Playground} />
<Controls of={LikertScale.Playground} />

## API

### isRequired

Sets aria-required value on radiogroup for assistive technologies. An accessible label must be provided and validation must still be handled within implementations.

<Canvas of={LikertScale.IsRequired} />
