Dev Design Library

Button

Buttons allow users to perform an action or to navigate to another page. They have multiple styles for various needs, and are ideal for calling attention to where a user needs to do something in order to move forward in a flow.

Button preview
Library
React Spectrum
Framework
React
Type
component
License
Apache-2.0
Files
  • packages/@react-spectrum/s2/src/Button.tsx
  • packages/@react-spectrum/s2/style/index.ts
  • packages/react-aria-components/src/Button.tsx
  • packages/@react-spectrum/s2/src/CenterBaseline.tsx
  • packages/@react-spectrum/s2/src/style-utils.ts
  • packages/@react-spectrum/s2/src/Icon.tsx
  • packages/@react-spectrum/s2/style/spectrum-theme.ts
  • packages/react-aria-components/src/Link.tsx
Source
https://github.com/adobe/react-spectrum

Categories

More from React Spectrum