Dev Design Library

Text States

A status label that swaps its text in place, exiting up with blur and entering from below.

Text States preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Install
npx shadcn@latest add @spectrumui/text-states
Files
  • components/spectrumui/text-states.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI