Components
Overview of UI components in Solana App Kit
Components
Solana App Kit provides a rich set of pre-built UI components that you can use to quickly build your Solana application. These components are designed to be modular, customizable, and easy to integrate.
Component Categories
The components are organized into several categories based on their functionality:
Social Components
- Thread - A complete social feed system with posts, replies, and reactions
- ThreadItem - Individual post items within a thread
- ThreadComposer - UI for creating new posts and replies
- Tweet - Simplified post display component
Wallet Components
- WalletCard - Display wallet information and balance
- WalletSlide - Slide-in wallet panel with portfolio information
- EmbeddedWallet - Embedded wallet authentication component
- PriorityFeeSelector - UI for selecting transaction priority fees
Trading Components
- TradeCard - Card for displaying and executing trades
- PumpfunCard - Interface for Pumpfun token trading
- PumpfunBuySection - UI for buying tokens via Pumpfun
- PumpfunSellSection - UI for selling tokens via Pumpfun
Token Management Components
- TokenMillScreen - Complete screen for token creation and management
- BondingCurveCard - Configure token bonding curves
- MarketCreationCard - Create new token markets
- SwapCard - Interface for token swapping
- StakingCard - Interface for token staking
Profile Components
- OtherProfile - Display another user’s profile
- ProfileInfo - Display profile information
- BuyCard - Interface for buying creator tokens
- PerksCard - Display token holder perks
Navigation Components
- TopNavigation - Top navigation bar
- AnimatedTabIcon - Animated icons for tab navigation
Using Components
Most components can be imported directly from the main package:
For more specific components, you may need to import from their specific path:
Component Props
Each component accepts a set of props for customization. Here are some examples:
Thread Component
WalletCard Component
PumpfunBuySection Component
Component Composition
Many components are designed to work together. For example, you can combine the Thread component with the ThreadComposer:
Styling and Theming
Most components accept style overrides and theme customizations:
- Direct style props - Many components accept a
style
prop for direct styling - Theme overrides - Components accept a
themeOverrides
prop for theme-based styling - Global theming - Use the
CustomizationProvider
for app-wide theming
Example of theme overrides:
Component Documentation
For detailed documentation on each component, including all available props and usage examples, refer to the specific component pages in the Reference section.