1
0
Fork 0
freesewing/sites/dev/docs/reference/packages/react/components/button
joostdecock 22a89f12d3 feat(dev): Added react docs for Pattern + refactor
This adds support for not only documenating components, but also
constants and functions that may be exported next to components.
2025-05-25 16:29:57 +02:00
..
_examples.js [react] feat: Merged Button and CopyToClipboardButton 2025-05-10 14:19:57 +02:00
readme.mdx feat(dev): Added react docs for Pattern + refactor 2025-05-25 16:29:57 +02:00

---
title: Button
---

import { DocusaurusDoc } from '@freesewing/react/components/Docusaurus'
import { ComponentDocs } from '@site/src/components/component-docs.js'
import {
  jsdocCopyToClipboardButton,
  jsdocIconButton,
} from '@site/prebuild/jsdoc/components.button.mjs'
import { CopyToClipboardButtonExample, IconButtonExample } from './_examples.js'

<DocusaurusDoc>

- [Components](#components)

## Components

The **Button** component family provides the following components:

- [CopyToClipboardButton](#copytoclipboardbutton)
- [IconButton](#iconbutton)

### CopyToClipboardButton

<ComponentDocs docs={jsdocCopyToClipboardButton} example={CopyToClipboardButtonExample} />

### IconButton

<ComponentDocs docs={jsdocIconButton} example={IconButtonExample} />

</DocusaurusDoc>