tamia

Extremely opinionated front-end framework

  • Owner: sapegin/tamia
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Tâmia

Build Status npm

Tâmia is a tiny React component library with themable primitives that you can use to quickly start working on a new project.

Based on

Tools

There are a few other things made specifically for Tâmia:

Documentation

Documentation is here.

Getting started

  1. Install Tâmia and peer dependencies:
npm install tamia styled-components
  1. Create a theme.

Copy the default theme to src/theme.tsx and modify it according to your taste:

  1. Type your theme.

Create src/styled.d.ts and import there your theme:

import theme from './theme';

type ThemeInterface = typeof theme;

declare module 'styled-components' {
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
  interface DefaultTheme extends ThemeInterface {}
}
  1. Wrap your app in a root container:
import React from 'react';
import { TamiaRoot } from 'tamia';
import theme from './theme';

const Root = ({ children }) => (
  <TamiaRoot theme={theme}>{children}</TamiaRoot>
);

export default Root;

The Name

Tâmia is a chipmunk in Portuguese. It refers to Squirrelstrap, my love of small cheeky creatures and “Chip ’n Dale Rescue Rangers” (which is exactly framework’s aim).

History

Tâmia has evolved from a folder on my disk with a few CSS and JS files that I copypasted to every new project in 2000s. Notable iterations are:

  • Grunt + Stylus + jQuery (2013)
  • Webpack + browser-sync + ES6/Babel + Web Components + Stylus (2016)
  • Webpack 2 + browser-sync + PostCSS + cssnext + CSS Modules + ES6/Babel (2017)
  • React + Emotion + ES6/Babel (2018)
  • React + styled-components + styled-system + TypeScript (2019)

License

The MIT License, see the included License.md file.

Main metrics

Overview
Name With Ownersapegin/tamia
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2013-03-29 14:20:55
Pushed At2025-05-22 17:39:18
Last Commit At2025-05-22 19:39:16
Release Count125
Last Release Namev7.1.11 (Posted on )
First Release Namev2.0.0 (Posted on )
用户参与
Stargazers Count68
Watchers Count5
Fork Count19
Commits Count1k
Has Issues Enabled
Issues Count6
Issue Open Count0
Pull Requests Count60
Pull Requests Open Count0
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private