Skip to content

UI kits and design

Log in with RemiliaNET button

Styles, sizes, states, labels, files, and usage rules of the Log in with RemiliaNET button kit.

The button starts the login flow of your app, which opens the RemiliaNET login page. The kit holds one stylesheet, a React component, the RemiliaNET mark, the Remilia-Mincho typeface, and PNG images of every theme.

Button builder

Pick a style and options, then copy the HTML or React code under the preview. The preview shows the button on a light and a dark ground, and responds to hover, press, and keyboard focus.

Loading preview…

To add the copied code to your app, see Add the login button.

Files

FileContent
remilianet-login-kit.zipEvery file in this table
remilianet-login.cssEvery style, size, and state. It loads the typeface from the fonts/ folder beside it.
RemiliaLoginButton.tsxThe React component. It needs the stylesheet.
fonts/Remilia-Mincho as RemiliaMincho-Latin.woff2, 22 KB with the Google Fonts latin slice the source font can draw, and the complete RemiliaMincho-Regular.otf for design tools, with its license, Remilia-Mincho-OFL.txt
mark/The RemiliaNET mark as remilianet-mark.svg, a 24 px PNG file at 1x, 2x, and 3x, and a 512 px PNG file
png/Every theme with the full label, the short label, and the icon only, at 1x, 2x, and 3x

The typeface is licensed under the SIL Open Font License 1.1 (OFL), which lets your app serve and bundle it. Keep the license file with the font files.

Your app serves its own copy of the kit, so later changes to this site do not reach it.

Styles

Each style has its own colors, corners, shadows, and states, and every theme works on a light or a dark ground. A theme's class joins the style and theme names, such as remilia-login--material-light. Classic Silver is the default and needs only remilia-login.

StyleThemesUse
classicSilver, navyAn app without its own visual language
aquawhite, blueGlossy gel buttons in the Mac OS X Aqua style, for retro and playful apps
materiallight, dark, blueA row of Material sign-in buttons. It matches their 40 px height, 20 px logo, and 4 px corners.

Sizes and options

SizeClassHeightUse
Compactremilia-login--sm32 pxToolbars and headers
StandardNone40 pxLogin screens

Both sizes have a touch target of at least 44 by 44 px, as WCAG 2.5.5 asks. An invisible margin around the button provides it, and the margin stays in place while the button moves. Leave at least 8 px between Standard buttons and 12 px between Compact buttons, so their touch targets do not overlap.

Heights, padding, gaps, mark sizes, and corners sit on a 4 px grid. The corners follow the style and the size: Classic uses 4 px at Compact and 8 px at Standard, Material uses 4 px, and Aqua is a pill. --remilia-login-radius on the button replaces them, for example style="--remilia-login-radius: 12px".

The options combine with either size:

OptionClassUse
Full widthremilia-login--blockA stack of providers. The button fills its container up to 320 px.
Icon onlyremilia-login--iconA row where every provider is an icon
Expand on hoverremilia-login--expandA header or a toolbar. The button rests as an icon pill and slides its label out on hover and keyboard focus. A touch screen shows the icon.
Pillremilia-login--pillA screen whose other buttons are pills
Circleremilia-login--icon and remilia-login--pillA row whose other provider icons are circles
All capsremilia-login--uppercaseA screen whose other buttons use capitals
Spinremilia-login--spinA mark that turns by one petal on hover and keyboard focus. Material themes lift the mark by 1 px instead.
Stillremilia-login--stillAn app that turns off motion for everyone. It stops the spin, the lift, the label slide, and every transition.

A labeled button is at least 140 px wide. A browser without interpolate-size shows the expanding label at once, without the slide.

States

  • Hover. Classic and Aqua buttons lift by 1 px and catch a soft light from above. Material buttons gain a tight shadow and stay in place.
  • Press. Classic and Aqua buttons sink by 1 px. Material buttons shrink slightly.
  • Focus. Keyboard focus draws a 2 px ring in the focus color of the theme.
  • Disabled. The button fades its own colors, drops its gloss and shadow, dims its mark, and ignores hover and press. Material Light and Dark follow the Material disabled state.

The reduced motion setting of the system turns off the spin and every transition, as remilia-login--still does.

A <button disabled> turns login off. On an HTML link, aria-disabled="true" changes only the appearance, so a disabled link also has no href and no click handler. The React component removes the href of a link with aria-disabled and blocks its click.

Labels

LabelUse
Log in with RemiliaNETThe default
Continue with RemiliaNETA button that logs in and registers
Register with RemiliaNETA screen that only creates accounts
Log inA tight space, such as a header or a toolbar. The mark carries the brand, and screen readers still hear "with RemiliaNET".

remilia-login--uppercase sets the label in capitals with wider letter spacing. The text stays as written, so screen readers read words, not letters. The PNG files use the label as written.

Logo position

By default the mark sits at the left edge and the label is centered in the space beside it, so the marks line up when provider buttons stack at the same width. On a button that fits its label, the mark and the label sit together. remilia-login--logo-center centers both on a full-width button that stands alone.

An expanding icon grows away from where it sits: at the start of a row it opens toward the end, and in the center it opens from the middle.

Loading preview…

React properties

PropertyValuesDefault
variantA theme from Styles, such as material-lightclassic
sizesm, mdmd
labellog-in-with, continue-with, register-with, log-inlog-in-with
isBlock, isIconOnly, isExpandOnHover, isPill, isLogoCentered, isUppercase, isSpinOnHover, isStillBooleanfalse
hrefA URL. The component renders a link instead of a button.None

Other properties pass through to the <button> or <a> element. The component draws the mark itself, so it needs only the stylesheet and its fonts/ folder.

Usage rules

Correct use

  • RemiliaNET has the same size, weight, and position as the other login options on the screen.
  • The label and the mark stay as shipped, with one of the four labels.
  • The short Log in label appears only where the button stands alone. Beside other providers, the button uses the full label, as they do.
  • At least 8 px of clear space surrounds the button.
  • The button starts the RemiliaNET login flow, which opens the RemiliaNET login page.
  • A screen uses one style.

Incorrect use

Loading preview…

The mark

Every style shows the RemiliaNET mark in full color.

Loading preview…
  • Color. The mark is full color only, as shipped. It is never one color, inverted, or on a gradient that hides the petals.
  • Minimum size. 20 px. Below that size, the petals disappear.
  • Clear space. A quarter of the height of the mark stays clear on every side. The padding of the button provides it.
  • Halo. A tight light halo behind the mark keeps its edge clear on dark and colored faces.
  • Shape and motion. The mark is never redrawn, outlined, or given other effects. Its only motion is the spin of remilia-login--spin or the Material lift, and reduced motion turns both off.