
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@luxury-presence/design-system-ui
Advanced tools
The core UI component library for the Luxury Presence Design System. This package provides a comprehensive set of React components with TypeScript support, built for both web and React Native applications.
The core UI component library for the Luxury Presence Design System. This package provides a comprehensive set of React components with TypeScript support, built for both web and React Native applications.
# npm
npm install @luxury-presence/design-system-ui
# yarn
yarn add @luxury-presence/design-system-ui
# pnpm
pnpm add @luxury-presence/design-system-ui
This package requires several peer dependencies to be installed in your project:
pnpm add react react-dom @luxury-presence/design-system-tokens @luxury-presence/design-system-icons tailwindcss
Optional peer dependencies (only needed for specific components):
# For data tables
pnpm add @tanstack/react-table @tanstack/react-virtual
# For GraphQL-powered select components
pnpm add @apollo/client
# For drag-and-drop functionality
pnpm add @dnd-kit/core @dnd-kit/sortable @dnd-kit/utilities
# For advanced UI interactions
pnpm add @floating-ui/react vaul input-otp react-day-picker react-resizable-panels
import { Button, Input, Card } from '@luxury-presence/design-system-ui';
function MyComponent() {
return (
<Card>
<Card.Header>
<Card.Title>Example Form</Card.Title>
</Card.Header>
<Card.Content>
<Input placeholder="Enter your name" />
<Button>Submit</Button>
</Card.Content>
</Card>
);
}
For better tree-shaking, import components individually:
import { Button } from '@luxury-presence/design-system-ui/components/button';
import { Input } from '@luxury-presence/design-system-ui/components/input';
import { Card } from '@luxury-presence/design-system-ui/components/card';
The data table is available as a specialized export:
import { DataTable } from '@luxury-presence/design-system-ui/data-table';
function MyTableComponent() {
return (
<DataTable
columns={columns}
data={data}
features={{
search: true,
pagination: true,
bulkActions: true,
}}
/>
);
}
Import the component styles in your application:
@import '@luxury-presence/design-system-ui/styles';
Layout & Structure
Card
- Flexible container with header, content, and footer sectionsSeparator
- Visual dividers and spacing elementsResizable
- Resizable panel containersForm Controls
Button
- Primary, secondary, and variant button stylesInput
- Text inputs with validation statesTextarea
- Multi-line text inputCheckbox
- Single and group checkbox controlsRadioGroup
- Radio button selectionsSelect
- Dropdown selection with search and multi-selectLabel
- Form field labels with proper associationsNavigation
Breadcrumb
- Navigation breadcrumb trailsMenubar
- Top-level navigation menuNavigationMenu
- Multi-level navigation structureSidebar
- Collapsible side navigationTabs
- Tab-based content switchingData Display
Avatar
- User profile images and placeholdersBadge
- Status indicators and labelsTable
- Basic data table with sortingSkeleton
- Loading state placeholdersFeedback & Overlays
Dialog
- Modal dialogs and confirmationsSheet
- Side panel overlaysTooltip
- Contextual help and informationLoader
- Loading spinners and progress indicatorsInteractive Elements
Command
- Command palette and search interfaceContextMenu
- Right-click context menusDropdownMenu
- Action menus and dropdownsPopover
- Floating content containersCarousel
- Image and content carouselsAdvanced Data Components
DataTable
- Feature-rich table with search, filtering, pagination, and bulk actionsPagination
- Standalone pagination controlsDomain-Specific Selectors
SelectBrokerage
- Brokerage selection with GraphQL integrationSelectMLSProvider
- MLS provider selectionSelectTemplate
- Template selection interfaceSelectUser
- User selection with searchUtility Components
IconButton
- Buttons with integrated iconsChip
- Removable tags and filtersBanner
- Alert banners and notificationsSegmentedPicker
- Toggle-style option selection# Install dependencies
pnpm install
# Start development server
pnpm dev
# Start Storybook
pnpm storybook
# Run tests
pnpm test
# Build library
pnpm build
src/
├── components/
│ ├── ui/ # Core UI components
│ │ ├── button/
│ │ │ ├── index.tsx # Component implementation
│ │ │ └── button.stories.tsx # Storybook stories
│ │ └── [other components]/
│ ├── data-table/ # Advanced data table system
│ │ ├── index.tsx # Main data table component
│ │ ├── features/ # Feature modules
│ │ └── [table parts]/ # Sub-components
│ └── select-*/ # Domain-specific selectors
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
├── types/ # TypeScript type definitions
└── index.ts # Main entry point
src/components/ui/my-component/
index.tsx
with proper TypeScript typesmy-component.stories.tsx
src/index.ts
pnpm build && pnpm test
Some components use GraphQL for dynamic data loading. To use these features:
pnpm codegen
to generate typesThe package builds both ES modules and CommonJS:
dist/es/
- Modern module formatdist/cjs/
- Legacy compatibilitydist/
- TypeScript declarationspnpm build # Full production build
pnpm build:lib # Library build only (alias)
pnpm generate:exports # Generate explicit exports for optimization
pnpm test # Run unit tests
pnpm test:watch # Watch mode testing
pnpm storybook # Visual testing with Storybook
The package uses:
This package follows semantic versioning. See CHANGELOG.md
for detailed release notes.
This package is proprietary and confidential. Unauthorized copying, distribution, or use is strictly prohibited.
© 2025 Luxury Presence. All rights reserved.
FAQs
The core UI component library for the Luxury Presence Design System. This package provides a comprehensive set of React components with TypeScript support, built for both web and React Native applications.
We found that @luxury-presence/design-system-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 100 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.