aldi/bulma-social
Tentang
π€³ Bulma CSS extension for social login buttons and brand color utilities, with 26 providers and modular CSS imports
Pengembangan web dan aplikasiYang dapat Anda lakukan
- π¨ 26 Providers β All major social platforms included
- π§© Bulma Native β Seamlessly integrates with Bulma's class naming conventions
- π¦ Modular Imports β Import only what you need, keep your bundle minimal
- π Dark Mode Ready β Fully optimized for light and dark themes
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -2
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliBulma-Social
Social Buttons and Colors for Bulma
π¨ Live Demo Β· π Documentation

β¨ Features
- π¨ 26 Providers β All major social platforms included
- π§© Bulma Native β Seamlessly integrates with Bulma's class naming conventions
- π¦ Modular Imports β Import only what you need, keep your bundle minimal
- π Dark Mode Ready β Fully optimized for light and dark themes
- π§ Framework Agnostic β Works with React, Vue, Angular, Svelte, or plain HTML
- π― Any Icon Library β Compatible with Font Awesome, Material Icons, Ionicons, and more
π¦ Installation
Bulma-Social is an add-on stylesheet for Bulma, so Bulma is required (peer dependency: bulma >= 1.0.0).
Make sure Bulmaβs CSS is loaded before Bulma-Social.
NPM
npm install bulma-social
Yarn
yarn add bulma-social
pnpm
pnpm add bulma-social
After installation, import the CSS in your project:
// Bulma (required)
import "bulma/css/bulma.min.css";
// Import all social providers
import "bulma-social/css/all.min.css";
// Or import specific providers for smaller bundle size
import "bulma-social/css/single/facebook/facebook.min.css";
import "bulma-social/css/single/github/github.min.css";
CDN
Use via jsDelivr β no installation required:
<!-- All social providers (~9KB gzipped) -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bulma-social@3/css/all.min.css"
/>
<!-- Or load specific providers -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bulma-social@3/css/single/facebook/facebook.min.css"
/>
π¨ Supported Social Providers
.is-apple |
.is-bitbucket |
.is-discord |
.is-dropbox |
.is-facebook |
.is-flickr |
.is-foursquare |
.is-github |
.is-gitlab |
.is-instagram |
.is-linkedin |
.is-microsoft |
.is-odnoklassniki |
.is-openid |
.is-pinterest |
.is-reddit |
.is-slack |
.is-soundcloud |
.is-tumblr |
.is-twitch |
.is-twitter |
.is-vimeo |
.is-vk |
.is-x |
.is-yahoo |
.is-youtube |
π Button Styles & States
Styles
| Class | Description |
|---|---|
.is-outlined |
Transparent background with border |
.is-inverted |
Inverted colors |
.is-light |
Light background variant |
.is-dark |
Dark background variant |
States
| Class / Attribute | Description |
|---|---|
.is-hovered |
Hover state |
.is-focused |
Focus state |
.is-active |
Active state |
disabled |
Disabled state |
ποΈ Color Utilities
Text Colors
<span class="has-text-facebook">Facebook Blue</span>
<span class="has-text-facebook-light">Facebook Light</span>
<span class="has-text-facebook-dark">Facebook Dark</span>
Background Colors
<div class="has-background-facebook">Facebook Background</div>
<div class="has-background-facebook-light">Light Variant</div>
<div class="has-background-facebook-dark">Dark Variant</div>
π‘ Replace
π‘ Usage Examples
Buttons with Text
<a class="button is-facebook">
<span class="icon">
<i class="fa-brands fa-facebook"></i>
</span>
<span>Sign in with Facebook</span>
</a>
<a class="button is-github is-outlined">
<span class="icon">
<i class="fa-brands fa-github"></i>
</span>
<span>Continue with GitHub</span>
</a>
<a class="button is-x is-light">
<span class="icon">
<i class="fa-brands fa-x-twitter"></i>
</span>
<span>Sign in with X</span>
</a>
Icon-Only Buttons
<a class="button is-facebook">
<span class="icon"><i class="fa-brands fa-facebook fa-lg"></i></span>
</a>
<a class="button is-twitter is-outlined">
<span class="icon"><i class="fa-brands fa-twitter fa-lg"></i></span>
</a>
<a class="button is-instagram is-inverted">
<span class="icon"><i class="fa-brands fa-instagram fa-lg"></i></span>
</a>
π Documentation
Full documentation with interactive examples is available at:
π aldi.github.io/bulma-social
Upgrading from an older version?
π Migration Guide
π€ Contributing
Contributions are welcome! Please read our Contributing Guide before submitting a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b new-provider) - Commit your changes (
git commit -m 'Add new provider') - Push to the branch (
git push origin new-provider) - Open a Pull Request
π License
Released under the MIT License.
Jelajahi proyek terkait
Memuatβ¦