Customize designs with code
Design
It’s helpful to be able to inspect the Kinde widget components and layouts, using DevTools.
This lets you:
:root
.You can learn more about DevTools in browser documentation. Here’s a few common examples:
Most browsers follow a similar approach for opening DevTools. Here’s a quick guide.
Right-click method:
Keyboard shortcut:
Ctrl + Shift + I
(Windows/Linux).Cmd + Option + I
(macOS).Menu navigation:
In Safari, go to the top menu bar and select Develop > Show Web Inspector.
If you don’t see the Develop menu item, you’ll need to enable it:
Once DevTools is open:
data-kinde-[…]
.Once a component or layout is located in the HTML:
On the page, right-click the element you want to inspect.
From the context menu, select Inspect or Inspect Element.
In the Styles (or Rules) panel, the element’s CSS rules will be displayed, revealing the settings applied to it.
Look for --kinde-[…]
instances to identify the settings specific to the component or layout.
If a --kinde-[…]
setting is explicitly defined, clicking on it will navigate to its definition at the document root, where its value is set. Most browsers also display the setting’s value in a tooltip when hovered.
If the setting is not defined and relies on a fallback, it will appear inactive and cannot be clicked.
To view state-specific settings: