Settings
Settings drawer for colour mode, direction, contrast, font and brand preset.
Install with the CLI
Copy the block into your project to own and change the code.
bunx @xerobi/ui-cli init
bunx @xerobi/ui-cli add settings
Import from the package
Or use it as shipped, without copying.
import { SETTINGS_STORAGE_KEY, SettingsButton, SettingsDrawer, SettingsProvider } from "@xerobi/ui/settings"Files
- settings/index.ts
- settings/settings-button.tsx
- settings/settings-config.ts
- settings/settings-context.tsx
- settings/settings-drawer.tsx
- settings/types.ts