Sha256: 94d7b6878b1e7f4dde44a101ad93a632360b5168f739cc7650f4663d0239234d

Contents?: true

Size: 1.92 KB

Versions: 6

Compression:

Stored size: 1.92 KB

Contents

<div class="rounded-lg border bg-card text-card-foreground shadow-sm">
  <div class="flex flex-col space-y-1.5 p-6">
    <h3 class="text-2xl font-semibold leading-none tracking-tight">Password</h3>
    <p class="text-sm text-muted-foreground">Change your password here. After saving, you'll be logged out.</p>
  </div>
  <div class="p-6 pt-0 space-y-2">
    <div class="space-y-1">
      <label class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for="current">Current password</label>
      <input class="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" id="current" type="password">
    </div>
    <div class="space-y-1">
      <label class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70" for="new">New password</label>
      <input class="flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50" id="new" type="password">
    </div>
  </div>
  <div class="flex items-center p-6 pt-0">
    <button class="inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2">Save password</button>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/examples/components/tabs/code/_password.html.erb
shadcn-ui-0.0.14 app/views/examples/components/tabs/code/_password.html.erb
shadcn-ui-0.0.13 app/views/examples/components/tabs/code/_password.html.erb
shadcn-ui-0.0.12 app/views/examples/components/tabs/code/_password.html.erb
shadcn-ui-0.0.10 app/views/examples/components/tabs/code/_password.html.erb
shadcn-ui-0.0.8 app/views/examples/components/tabs/code/_password.html.erb