← All proposals

Button

Starting point for a Button proposal.

Extends a PDS componentOpen in Storybook

proposals/Button/Button.mdx21 lines · View on GitHub
import { Canvas, Controls, Meta, Title } from '@storybook/addon-docs/blocks';

import * as ButtonStories from './Button.stories';

<Meta of={ButtonStories} name='Usage' />

<Title />

## Purpose

The PDS Button, copied as the base for this proposal. It adds the agentic treatment: an AI-gradient border and a gradient working spinner.

## Implementation

See the table below for the available props. The other stories show every variant and state.

<hr />

<Canvas of={ButtonStories.Default} />
<Controls of={ButtonStories.Default} />