Underline only
Large type on a single rule. For short forms where the fields are the page.
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-input-underline">
<div class="u">
<label for="ukc-un1">Your name</label><input id="ukc-un1" type="text" value="Mara Reyes">
<label for="ukc-un2">What are you building?</label><input id="ukc-un2" type="text" placeholder="A kitchen, a deck, a shop fit-out">
</div>
</div>
.ukc-input-underline { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-input-underline *, .ukc-input-underline *::before, .ukc-input-underline *::after { box-sizing: border-box; }
.ukc-input-underline :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-input-underline :where(ul, ol) { padding: 0; list-style: none; }
.ukc-input-underline :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-input-underline :where(a) { color: inherit; }
.ukc-input-underline svg { flex: none; }
.ukc-input-underline .u { display: grid; gap: 4px; max-width: 460px; }
.ukc-input-underline label { margin-top: 14px; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--uk-muted); }
.ukc-input-underline input { height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font-family: var(--uk-font-display, inherit); font-size: 26px; }
.ukc-input-underline input:focus { outline: none; border-bottom: 2px solid var(--uk-accent); }
.ukc-input-underline input::placeholder { color: color-mix(in srgb, var(--uk-muted) 70%, transparent); }
More inputs
All 27Good. Add a symbol to make it strong.
Drop photos here or browse
JPG or PNG, up to 10 MB each
- site-north-wall.jpg2.4 MB
- joist-detail.png812 KB
Weekdays only. For example, 28/10/2026
October 2026
Monday Tuesday Wednesday Thursday Friday Saturday Sunday To: Ridgeway job, 4 people