Revel
GitHub
GitHub
  • Overview

    • Getting started
    • FAQ
    • Release notes
  • Foundations

    • Meet the standard
    • Accessibility
    • Internationalization
    • Information hierarchy
    • Speed
  • Design

    • Visual principles
    • Colors
    • Space
    • Icons
    • Typography
  • Design tokens
  • Style helpers
  • Content

    • Express your ideas
    • Actionable language
    • Inclusive and accessible language
    • Alternative text
    • Grammar and mechanics
      • Basics
      • Capitalization
      • Dates and units of measurement
      • Punctuation
  • Components

    • Alert
    • Avatar
    • Badge
    • Button
    • Button group
    • Checkbox
    • Date Input
      • dates
      • datetimes
      • ranges
    • Field group
    • File upload
    • Flex
    • Grid
    • Icon
    • Image
    • Input
    • Loader
    • Modal
    • Month picker
    • Pagination
    • Popper
    • Radio
    • Repeater
    • Select
    • Tabs
    • Tile
    • Toast
    • Toggle
  • Directives

    • Click outside
    • Tooltip

Getting Started

What is Revel?

Revel is the design system used by designers and developers at Rebilly to build clean, elegant, and performant experiences for its merchants.

Resources

Figma

  • Revel UI Kit (WIP)

Components

1. Install from npm

yarn add @rebilly/revel

2. Import the stylesheet

import '@rebilly/revel/dist/style.css'

3. Import and use components

<template>
  <r-button>Click Me!</r-button>
</template>

<script>
import { rButton } from '@rebilly/revel';

export default {
  name: 'Example',
  components: { rButton },
};
</script>

4. Optionally register all components and directives globally

import { createApp } from 'vue';
import revel from '@rebilly/revel';
import App from './App.vue';

const app = createApp(App)

// Revel exports a plugin which registers all
// components and directives globally
app.use(revel);

app.mount('#app');
Edit this page
Last Updated: 8/23/23, 10:11 PM
Contributors: Peyman Eskandari, John Hannagan, Cesar Level, Weetbix
Next
FAQ