mirror of
https://github.com/luxwallet/ui.git
synced 2026-10-30 19:47:51 +00:00
Shared Lux Wallet UI component library. One component tree renders on web (react-native-web), browser extension, desktop, and native React Native by mirroring @hanzo/gui's react-native/browser export conditions. - @hanzo/gui as peer dep (not bundled); react + react-native peers. MIT, no GPL. - Pure presentation: data + callbacks via props, zero @luxwallet/sdk imports, no signing / no RPC — fully decoupled from the core built in parallel. - Primitives wrapping @hanzo/gui: Button, Card, AddressField, AmountInput, TokenRow, ChainBadge, QrView, ScreenScaffold. - Screen shells (1:1 with lux/wallet/SCREENS.md): Portfolio, Send, Receive, Swap, Stake, Bridge, Signing, Settings, ConnectWallet (SIWx 5-chain picker: EVM/Solana/Bitcoin/TON/XRP). - Lux brand theme tokens extending @hanzo/gui; runtime white-label via CSS vars (web) / theme (native) — no forks. - WalletUIProvider wraps GuiProvider so apps mount one provider. - TS strict; tsc --noEmit green against real @hanzo/[email protected].
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
MIT License
|
|
|
|
Copyright (c) 2025 Lux Industries Inc.
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|