The two legacy Rhythm packages, @rhythm/common and @rhythm/core, are fully deprecated. Legacy components are no longer maintained and do not conform to the latest SalesLoft design specifications. They should not be used for any new code, and existing instances should be actively refactored. The Legacy Imports spreadsheet lists all current instances of legacy components being used in Rhapsody.
Below is a table of the most commonly used legacy imports and what to use instead:
| Legacy Component(s) | What to Use Instead |
|---|---|
Button | Button in @rhythm/buttons |
Checkbox | Checkbox in @rhythm/inputs |
Dropdown and Dropdown* components | Menu and related components in @rhythm/menu |
EmptyState | EmptyState in @rhythm/empty-state |
Loading | Loading in @rhythm/loading |
PlaceholderBar | Skeleton in @rhythm/loading |
RhythmSvg | All icons and images in @rhythm/svgs |
Select | Select in @rhythm/inputs |
TooltipContainer | Tooltip in @rhythm/tooltips |