Component
Glass Soft Button
Soft glass morphism buttons with blur effect
- Component
- Tailwind
- MIT
Preview
Live component
9:41 100%
devsnips.site/library/tailwind/components/buttons/glass-button/soft/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Buttons/glass-button/soft Tailwind/Components/Buttons/glass-button/soft <!-- Glass Button Styles -->
<style>
.glass-soft {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-hover:hover {
background: rgba(255, 255, 255, 0.9);
}
</style>
<!-- Glass Button - Default -->
<button class="px-6 py-2.5 glass-soft glass-hover text-gray-700 font-medium rounded-lg focus:outline-none focus:ring-2 focus:ring-white/50 transition-all">
Glass Default
</button>
<!-- Glass Button - Disabled -->
<button class="px-6 py-2.5 glass-soft glass-hover text-gray-700 font-medium rounded-lg focus:outline-none focus:ring-2 focus:ring-white/50 transition-all" disabled>
Glass Disabled
</button>
<!-- Glass Button - Pill -->
<button class="px-6 py-2.5 glass-soft glass-hover text-gray-700 font-medium rounded-full focus:outline-none focus:ring-2 focus:ring-white/50 transition-all">
Glass Pill
</button> # Glass Button Soft
Soft glassmorphism button with label.
## Preview
Open `preview.html` for a standalone demonstration.
## Features
- Soft glass surface
- Focus-visible states
- Native button
## Usage
```bash
npx devsnips add Tailwind/Components/Buttons/glass-button/soft
```
Copy from `code.html`.
## Customization
- Blur, opacity, border, text colors
## Accessibility
- Native `<button>` with visible label
## Dependencies
- Tailwind CSS only
## File Structure
- `code.html` · `preview.html` · `metadata.json` · `README.md` 27 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf
Agent skill & Model Context Protocol
Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.
devsnips://components/buttons/glass-button/soft I want to use this DevSnips resource in production: Page: https://devsnips.site/library/tailwind/components/buttons/glass-button/soft/ Install: npx devsnips add Tailwind/Components/Buttons/glass-button/soft This is the Glass Soft Button — Soft glass morphism buttons with blur effect Use this DevSnips resource as the starting point for my project. Adapt it to my project's stack and conventions, fix any issues, and make it production-ready while preserving its intended design and behavior.
Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.
Resource URI
devsnips://components/buttons/glass-button/soft