A modern, customizable authentication UI component library for SolidStart applications. Provides ready-to-use login and signup forms with both light and dark themes.
- 🎨 Light and Dark themes
- 📱 Responsive design
- 🔒 Password visibility toggle
- 🚀 Google OAuth integration ready
- 💅 Modern, minimal aesthetic
- 🎯 SolidStart optimized
npm install @solidauth/ui @solidjs/router
Import and use the components in your SolidStart application:
import { LoginFormLight, SignUpFormLight } from '@solidauth/ui';
// or
import { LoginFormDark, SignUpFormDark } from '@solidauth/ui';
// In your component:
export default function AuthPage() {
return (
<LoginFormLight /> // or LoginFormDark
// or
<SignUpFormLight /> // or SignUpFormDark
);
}
LoginFormLight
- Light theme login formLoginFormDark
- Dark theme login form
Features:
- Username/email input
- Password input with visibility toggle
- Login button
- Google OAuth button
- Custom logo placement
SignUpFormLight
- Light theme signup formSignUpFormDark
- Dark theme signup form
Features:
- Username/email input
- Password input with visibility toggle
- Sign up button
- Google OAuth button
- Custom logo placement
The components use CSS modules and can be customized by overriding the default classes. Each component has its own CSS file with well-documented class names.
Common customizable elements:
.loginBox {
/* Customize form container */
}
.log-in-button {
/* Customize primary button */
}
.google-button {
/* Customize OAuth button */
}
solid-js
: ^1.8.22@solidjs/router
: ^0.14.7 (peer dependency)
Contributions are welcome! Please feel free to submit a Pull Request.
MIT