# Preferences Card

> An account settings card with rows for profile, payment method and notifications, for SaaS, banking and exchange account pages.

A React component for shadcn/ui and Tailwind CSS, from ssych ui (https://ssych.com). Free, MIT licensed, the source lands in your repo.

## Install

```bash
npx shadcn@latest add @ssych/preferences-card
```

npm dependencies: clsx, lucide-react, motion, tailwind-merge

## Props

`<PreferencesCard />`

- `rows?`: `PreferenceRow[]`
- `width?`: `number`
- `onSelect?`: `(title: string) => void className?: string`

## Where it belongs

- Controls: React control components: a segmented control, currency toggle, amount input with presets, avatar stack and preference cards. (https://ssych.com/library/s/controls)

## Related

- Segmented Control: https://ssych.com/library/segmented-control.md
- Crypto/Fiat: https://ssych.com/library/crypto-fiat.md
- Currency Amount: https://ssych.com/library/amount.md
- Avatar Stack: https://ssych.com/library/avatar-stack.md
- Price Scrubber: https://ssych.com/library/price-scrubber.md

## Links

- Live preview and code: https://ssych.com/library/preferences-card
- Source: https://github.com/savvasicevs/ssych-ui
- All components: https://ssych.com/llms-full.txt
