Create UI components from text descriptions using DeepSeek AI.
- Text-to-UI conversion with DeepSeek-V3
- Tailwind CSS integration for styling
- Live component preview
- Simple copy-paste functionality
main.py- Streamlit applicationcomponent_generator.py- DeepSeek API integrationpreview_tools.py- HTML preview utilities
# Install dependencies
pip install streamlit requests
# Set API key (optional)
export DEEPSEEK_API_KEY="your-api-key"
# Run the app
streamlit run main.py- Enter your DeepSeek API key if not set as environment variable
- Describe the UI component you want to create
- Click "Generate Component"
- Copy the generated code to use in your project
- "A blue button with rounded corners that says 'Submit'"
- "A navigation bar with logo and 3 menu items"
- "A contact form with name, email and message fields"
- "A success notification with a checkmark icon"