Libraries

s&box libraries list

Razor Panel Tooltips

carsonk.razor_tooltips

A custom tooltip system that lets you use razor panels instead of a string

About

What is this?

This is a custom system that allows you to use Razor Panels as Tooltips (as opposed to a string with styling options). It doesn't replace the built-in Tooltips, it's just a unique way of displaying more advanced Tooltips.

How do I use it?

The built-in Tooltips work something like this:

<div class="my-card" tooltip="This is a normal tooltip..">
    <label>My custom panel</label>
</div>

While the Razor Panel Tooltips work like this:

<RazorTooltip>
    <Content class="my-card">
        <label>My custom panel</label>
    </Content>
    <Tooltip style="background-color: white; padding: 4px;">
        <label>This is a custom Razor Tooltip!!!</label>
        <i>celebration</i>
    </Tooltip>
</RazorTooltip>

Media

More by Carson Kompon

02
RichText Razor Panels thumbnail
RichText Razor Panels carsonk.richtextpanels

Adds a <RichText/> element which can parse text into custom Razor Panels

+0 24h
3favorites
4upvotes
60%Terry score
03
Editor All Chat thumbnail
Editor All Chat carsonk.editor_all_chat

A global chat that lets you talk with anyone else using the library who's currently in the Editor.

+0 24h
2favorites
6upvotes
69%Terry score
06
Granular Pitch Audio Processor thumbnail
Granular Pitch Audio Processor carsonk.granularpitchprocessor

A basic audio processor that lets you change the pitch of a sound live without changing its speed.

+0 24h
1favorites
0upvotes
--Terry score