Skip to content

Connected Apps Row

A copy-paste settings & preferences component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.

Settings & PreferencesHTMLCSSany framework
Slack
Connected · nudaui.slack.com

Copy into your project

HTML
<div class="nuda-app-row">
  <div class="nuda-app-row__icon" aria-hidden="true">
    <svg viewBox="0 0 24 24" fill="none">
      <rect x="3" y="3" width="8" height="8" rx="2" fill="#36c5f0" />
      <rect x="13" y="3" width="8" height="8" rx="2" fill="#2eb67d" />
      <rect x="3" y="13" width="8" height="8" rx="2" fill="#ecb22e" />
      <rect x="13" y="13" width="8" height="8" rx="2" fill="#e01e5a" />
    </svg>
  </div>
  <div class="nuda-app-row__info">
    <div class="nuda-app-row__name">Slack</div>
    <div class="nuda-app-row__meta">Connected · nudaui.slack.com</div>
  </div>
  <button type="button" class="nuda-app-row__btn">Disconnect</button>
</div>
CSS
/* Connected Apps Row
   App icon + name + connected status + disconnect button.
   Customize: --row-bg, --status, --danger */

.nuda-app-row {
  --row-bg: #0c0c10;
  --status: #22c55e;
  --danger: #fca5a5;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: var(--row-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
}

.nuda-app-row__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #111114;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nuda-app-row__icon svg {
  width: 22px;
  height: 22px;
}

.nuda-app-row__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.nuda-app-row__name {
  color: #fafafa;
  font-size: 0.875rem;
  font-weight: 500;
}

.nuda-app-row__meta {
  color: #a0a0a8;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nuda-app-row__meta::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.nuda-app-row__btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0a8;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4375rem 0.75rem;
  border-radius: 7px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nuda-app-row__btn:hover {
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.06);
}

.nuda-app-row__btn:focus-visible {
  outline: 2px solid #e4ff54;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nuda-app-row__btn {
    transition: none;
  }
}

How to use Connected Apps Row

Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.

Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.

More settings & preferences components

← Browse all NudaUI components